Merge branch 'dev'
add .env
This commit is contained in:
commit
e2a41693a2
13
.env
Normal file
13
.env
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
MONGO_HOST=localhost
|
||||||
|
MONGO_PORT=27017
|
||||||
|
MONGO_DB=soulbook
|
||||||
|
|
||||||
|
REDIS_ENDPOINT=localhost
|
||||||
|
REDIS_PORT=6379
|
||||||
|
REDIS_PASSWORD=
|
||||||
|
CACHE_DB=0
|
||||||
|
SESSION_DB=1
|
||||||
|
|
||||||
|
IS_RUNNING=true
|
||||||
|
|
||||||
|
API_KEY=key
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
@ -122,13 +122,10 @@ celerybeat.pid
|
|||||||
*.sage.py
|
*.sage.py
|
||||||
|
|
||||||
# Environments
|
# Environments
|
||||||
.env
|
|
||||||
.venv
|
.venv
|
||||||
env/
|
env/
|
||||||
venv/
|
venv/
|
||||||
ENV/
|
ENV/
|
||||||
env.bak/
|
|
||||||
venv.bak/
|
|
||||||
|
|
||||||
# Spyder project settings
|
# Spyder project settings
|
||||||
.spyderproject
|
.spyderproject
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
# sudo docker run -it -d -p 8001:8001 -e MONGO_HOST=127.0.0.1 -e MONGO_PORT=27017 -e REDIS_ENDPOINT=127.0.0.1 -e REDIS_PORT=6379 -e REDIS_PASSWORD=password guyue55/soulbook
|
# sudo docker run -it --name soulbook -d -p 8001:8001 -e MONGO_HOST=127.0.0.1 -e MONGO_PORT=27017 -e REDIS_ENDPOINT=127.0.0.1 -e REDIS_PORT=6379 -e REDIS_PASSWORD=password guyue55/soulbook
|
||||||
sudo docker run -it -d -p 8001:8001 --env-file .env guyue55/soulbook
|
sudo docker run -it -d --name soulbook -p 8001:8001 --env-file .env guyue55/soulbook
|
||||||
Loading…
Reference in New Issue
Block a user