diff --git a/docker-compose.yml b/docker-compose.yml index bf3a745..d46dff7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,11 +4,11 @@ services: context: . dockerfile: Dockerfile container_name: allAndOne - + env_file: - .env ports: - - '3000:3000' + - "3000:3000" volumes: - .:/app - /app/node_modules @@ -29,7 +29,11 @@ services: # Enable www redirection for HTTP and HTTPS - traefik.http.routers.frontend-https.middlewares=www-redirect - - traefik.http.routers.frontend-http.middlewares=https-redirect,www-redirect + - traefik.http.routers.frontend-http.middlewares=https-redirect,www-redirect networks: - traefik-public - - default \ No newline at end of file + - default +networks: + traefik-public: + # Allow setting it to false for testing + external: true