diff --git a/docker-compose.yml b/docker-compose.yml index 7a14ba3..99e26d3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,8 +9,8 @@ services: POSTGRES_DB: sport_programming volumes: - postgres_data:/var/lib/postgresql/data - ports: - - "5432:5432" + # ports: + # - "5432:5432" healthcheck: test: ["CMD-SHELL", "pg_isready -U sport_prog -d sport_programming"] interval: 5s @@ -43,7 +43,7 @@ services: volumes: - ./backend:/app ports: - - "8000:8000" + - "8091:8000" depends_on: db: condition: service_healthy @@ -58,14 +58,14 @@ services: dockerfile: Dockerfile container_name: sp-frontend environment: - - NEXT_PUBLIC_API_URL=http://localhost:8000 - - NEXT_PUBLIC_WS_URL=ws://localhost:8000 + - NEXT_PUBLIC_API_URL=http://localhost:8091 + - NEXT_PUBLIC_WS_URL=ws://localhost:8091 volumes: - ./frontend:/app - /app/node_modules - /app/.next ports: - - "3000:3000" + - "3091:3000" depends_on: - backend restart: unless-stopped