1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2024-03-23 13:58:51 +10:00
parent 1907ce056a
commit 6a99e7424e
2 changed files with 4 additions and 15 deletions

View File

@ -30,9 +30,6 @@ services:
- medicine-network - medicine-network
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
external_links:
- "postgres:postgres-host"
- "redis:redis-host"
logging: logging:
driver: "json-file" driver: "json-file"
options: options:
@ -41,5 +38,4 @@ services:
networks: networks:
medicine-network: medicine-network:
external: external: true
name: "medicine-network"

View File

@ -15,12 +15,9 @@ services:
- "${NGINX_HTTPS_PORT}:443" - "${NGINX_HTTPS_PORT}:443"
volumes: volumes:
- medicine-public-data:/app/public - medicine-public-data:/app/public
- ./.env:/app/.env - .env:/app/.env
networks: networks:
- medicine-network - medicine-network
external_links:
- "postgres:postgres-host"
- "redis:redis-host"
logging: logging:
driver: "json-file" driver: "json-file"
options: options:
@ -33,13 +30,10 @@ services:
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
volumes: volumes:
- ./.env:/app/.env - .env:/app/.env
- medicine-public-data:/app/public - medicine-public-data:/app/public
networks: networks:
- medicine-network - medicine-network
external_links:
- "postgres:postgres-host"
- "redis:redis-host"
logging: logging:
driver: "json-file" driver: "json-file"
options: options:
@ -51,5 +45,4 @@ volumes:
networks: networks:
medicine-network: medicine-network:
external: external: true
name: "medicine-network"