1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2020-07-07 22:18:31 +10:00
parent 1cf7464c57
commit 148f42eb89
4 changed files with 5 additions and 7 deletions

View File

@ -26,7 +26,7 @@ services:
POSTGRES_USER: "postgres" POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "password" POSTGRES_PASSWORD: "password"
volumes: volumes:
- ../volumes/postgres-data:/var/lib/postgresql/data - ./volumes/postgres-data:/var/lib/postgresql/data
logging: logging:
driver: "json-file" driver: "json-file"
options: options:

View File

@ -35,7 +35,7 @@ services:
- "840" - "840"
command: /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf command: /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
volumes: volumes:
- ../.env:/app/.env - ./.env:/app/.env
- medicine-public-data:/app/public - medicine-public-data:/app/public
networks: networks:
- default - default
@ -54,10 +54,8 @@ services:
container_name: medicine-tasks container_name: medicine-tasks
restart: "always" restart: "always"
command: /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord-tasks.conf command: /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord-tasks.conf
env_file:
- ../.env
volumes: volumes:
- ../.env:/app/.env - ./.env:/app/.env
- medicine-public-data:/app/public - medicine-public-data:/app/public
networks: networks:
- default - default

View File

@ -9,7 +9,7 @@ services:
image: docker.med-logic.ru/tfoms-patient:latest image: docker.med-logic.ru/tfoms-patient:latest
environment: environment:
- SENTRY_SITE=${SENTRY_SITE} - SENTRY_SITE=${SENTRY_SITE}
- SQLALCHEMY_DATABASE_URI=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres-host/tfoms_patient - SQLALCHEMY_DATABASE_URI=postgresql://postgres:password@postgres-host/tfoms_patient
ports: ports:
- "880:80" - "880:80"
external_links: external_links:

View File

@ -31,7 +31,7 @@ services:
- "856:80" - "856:80"
volumes: volumes:
- filebrowser-data:/etc - filebrowser-data:/etc
- ../volumes/filebrowser-data:/srv/filebrowser-data - ./volumes:/srv/volumes
networks: networks:
- medicine-network - medicine-network
logging: logging: