diff --git a/docker-compose.yml b/docker-compose.yml index 679daba..28a1be0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,8 +8,8 @@ services: - CH_FRONTEND_URL=http://localhost volumes: - classhub-data:/app/data - expose: - - "8000" + ports: + - "8000:8000" healthcheck: test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')"] interval: 30s @@ -22,21 +22,10 @@ services: args: - NEXT_PUBLIC_API_URL= restart: unless-stopped - expose: - - "3000" - depends_on: - - backend - - nginx: - image: nginx:alpine - restart: unless-stopped ports: - - "3008:80" - volumes: - - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro + - "3008:3000" depends_on: - backend - - frontend volumes: classhub-data: