From 9d152d813aad0b0dcca74350c2aec3c71dab009a Mon Sep 17 00:00:00 2001 From: julien Date: Sat, 19 Jul 2025 12:24:28 +0200 Subject: [PATCH] Test --- docker/docker-compose.yml | 43 ++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index a8b6cb2..0519e00 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -2,25 +2,25 @@ version: '3.8' services: # PostgreSQL Database - postgres: - image: postgres:15-alpine - container_name: tournament-postgres - environment: - POSTGRES_DB: tournament - POSTGRES_USER: tournament_user - POSTGRES_PASSWORD: tournament_password - volumes: - - postgres_data:/var/lib/postgresql/data - - ./prisma/migrations:/docker-entrypoint-initdb.d - ports: - - "5432:5432" - healthcheck: - test: ["CMD-SHELL", "pg_isready -U tournament_user -d tournament"] - interval: 10s - timeout: 5s - retries: 5 - networks: - - tournament-network + # postgres: + # image: postgres:15-alpine + # container_name: tournament-postgres + # environment: + # POSTGRES_DB: tournament + # POSTGRES_USER: tournament_user + # POSTGRES_PASSWORD: tournament_password + # volumes: + # - postgres_data:/var/lib/postgresql/data + # - ./prisma/migrations:/docker-entrypoint-initdb.d + # ports: + # - "5432:5432" + # healthcheck: + # test: ["CMD-SHELL", "pg_isready -U tournament_user -d tournament"] + # interval: 10s + # timeout: 5s + # retries: 5 + # networks: + # - tournament-network # Tournament Application tournament-app: @@ -29,7 +29,8 @@ services: dockerfile: docker/Dockerfile container_name: tournament-app environment: - - DATABASE_URL=postgresql://tournament_user:tournament_password@postgres:5432/tournament + - DATABASE_URL=postgresql://admin:puW6KHfe3viQRyR7@sheldon:5432/tournament + # - DATABASE_URL=postgresql://tournament_user:tournament_password@postgres:5432/tournament - PORT=4000 - JWT_SECRET=your-super-secret-jwt-key-change-in-production - ADMIN_USERNAME=admin @@ -67,4 +68,4 @@ volumes: networks: tournament-network: - driver: bridge \ No newline at end of file + driver: bridge