Docker updates for full files
This commit is contained in:
parent
e4e40e50fe
commit
b36a4cf221
@ -7,7 +7,7 @@ export APP_SETTINGS=fittrackee.config.DevelopmentConfig
|
||||
export APP_SECRET_KEY='just for test'
|
||||
# export APP_WORKERS=
|
||||
export APP_LOG=fittrackee.log
|
||||
export UPLOAD_FOLDER=/uploads
|
||||
export UPLOAD_FOLDER=/usr/src/apps/uploads
|
||||
|
||||
# Database
|
||||
export DATABASE_URL=postgresql://fittrackee:fittrackee@fittrackee-db:5432/fittrackee
|
||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -45,3 +45,6 @@ yarn-error.log*
|
||||
###############
|
||||
*.log
|
||||
nohup.out
|
||||
|
||||
# docker
|
||||
data
|
||||
|
@ -10,6 +10,8 @@ services:
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
volumes:
|
||||
- ./data/db:/var/lib/postgresql/data
|
||||
|
||||
fittrackee:
|
||||
container_name: fittrackee
|
||||
@ -28,7 +30,8 @@ services:
|
||||
- mail
|
||||
volumes:
|
||||
- .:/usr/src/app
|
||||
- fittrackee_upload:/uploads:rw
|
||||
- ./data/workouts:/usr/src/app/workouts
|
||||
- ./data/uploads:/usr/src/app/uploads
|
||||
|
||||
fittrackee_client:
|
||||
container_name: fittrackee_client
|
||||
@ -61,6 +64,3 @@ services:
|
||||
ports:
|
||||
- "1025:1025"
|
||||
- "8025:8025"
|
||||
|
||||
volumes:
|
||||
fittrackee_upload:
|
Loading…
Reference in New Issue
Block a user