This commit is contained in:
2025-07-19 17:26:11 +02:00
parent 75640eba0d
commit 99e8b4ce55
2 changed files with 10 additions and 10 deletions

View File

@@ -39,9 +39,9 @@ services:
- NODE_ENV=production - NODE_ENV=production
ports: ports:
- "127.0.0.1:4000:4000" # Only accessible from localhost - "127.0.0.1:4000:4000" # Only accessible from localhost
depends_on: # depends_on:
postgres: # postgres:
condition: service_healthy # condition: service_healthy
volumes: volumes:
- ../prisma:/app/prisma - ../prisma:/app/prisma
networks: networks:
@@ -82,8 +82,8 @@ services:
cpus: '0.1' cpus: '0.1'
volumes: volumes:
postgres_data: # postgres_data:
driver: local # driver: local
nginx_logs: nginx_logs:
driver: local driver: local

View File

@@ -38,9 +38,9 @@ services:
- ADMIN_EMAIL=admin@tournament.com - ADMIN_EMAIL=admin@tournament.com
ports: ports:
- "4000:4000" - "4000:4000"
depends_on: # depends_on:
postgres: # postgres:
condition: service_healthy # condition: service_healthy
volumes: volumes:
- ../prisma:/app/prisma - ../prisma:/app/prisma
networks: networks:
@@ -63,8 +63,8 @@ services:
- tournament-network - tournament-network
restart: unless-stopped restart: unless-stopped
volumes: # volumes:
postgres_data: # postgres_data:
networks: networks:
tournament-network: tournament-network: