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_SECRET_KEY='just for test'
|
||||||
# export APP_WORKERS=
|
# export APP_WORKERS=
|
||||||
export APP_LOG=fittrackee.log
|
export APP_LOG=fittrackee.log
|
||||||
export UPLOAD_FOLDER=/uploads
|
export UPLOAD_FOLDER=/usr/src/apps/uploads
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
export DATABASE_URL=postgresql://fittrackee:fittrackee@fittrackee-db:5432/fittrackee
|
export DATABASE_URL=postgresql://fittrackee:fittrackee@fittrackee-db:5432/fittrackee
|
||||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -45,3 +45,6 @@ yarn-error.log*
|
|||||||
###############
|
###############
|
||||||
*.log
|
*.log
|
||||||
nohup.out
|
nohup.out
|
||||||
|
|
||||||
|
# docker
|
||||||
|
data
|
||||||
|
@ -10,7 +10,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_PASSWORD=postgres
|
||||||
|
volumes:
|
||||||
|
- ./data/db:/var/lib/postgresql/data
|
||||||
|
|
||||||
fittrackee:
|
fittrackee:
|
||||||
container_name: fittrackee
|
container_name: fittrackee
|
||||||
build: .
|
build: .
|
||||||
@ -28,7 +30,8 @@ services:
|
|||||||
- mail
|
- mail
|
||||||
volumes:
|
volumes:
|
||||||
- .:/usr/src/app
|
- .:/usr/src/app
|
||||||
- fittrackee_upload:/uploads:rw
|
- ./data/workouts:/usr/src/app/workouts
|
||||||
|
- ./data/uploads:/usr/src/app/uploads
|
||||||
|
|
||||||
fittrackee_client:
|
fittrackee_client:
|
||||||
container_name: fittrackee_client
|
container_name: fittrackee_client
|
||||||
@ -61,6 +64,3 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "1025:1025"
|
- "1025:1025"
|
||||||
- "8025:8025"
|
- "8025:8025"
|
||||||
|
|
||||||
volumes:
|
|
||||||
fittrackee_upload:
|
|
Loading…
Reference in New Issue
Block a user