diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index 3066cd9..96b7b92 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -13,7 +13,7 @@ services: build: context: .. dockerfile: frontend/Dockerfile - ports: ["127.0.0.1:${FRONTEND_PORT:-18080}:80"] + ports: ["0.0.0.0:${FRONTEND_PORT:-18080}:80"] depends_on: [fastapi] restart: unless-stopped @@ -32,7 +32,7 @@ services: - slab_db:/data - slab_images:/images - ../backend/app/prompts:/app/prompts:ro - ports: ["127.0.0.1:${FASTAPI_PORT:-18081}:8000"] + ports: ["0.0.0.0:${FASTAPI_PORT:-18081}:8000"] mem_limit: 2g restart: unless-stopped @@ -40,8 +40,8 @@ services: image: caddy:2.8.4 restart: unless-stopped ports: - - "127.0.0.1:80:80" - - "127.0.0.1:443:443" + - "0.0.0.0:80:80" + - "0.0.0.0:443:443" volumes: - ./Caddyfile:/etc/caddy/Caddyfile - ./certs:/data/certs:ro