diff --git a/docker/whisper/Dockerfile b/docker/whisper/Dockerfile index b55254e..20d8920 100644 --- a/docker/whisper/Dockerfile +++ b/docker/whisper/Dockerfile @@ -15,4 +15,4 @@ RUN npm install EXPOSE 5173 # Command to run the app -CMD ["npm", "run", "dev"] +CMD ["npm", "run", "dev", "--host"] diff --git a/stack.production.yml b/stack.production.yml index 850c453..450efbe 100644 --- a/stack.production.yml +++ b/stack.production.yml @@ -8,13 +8,6 @@ services: image: git.nixc.us/nixius/whisper:production networks: - traefik - - default - # ports: - # - '80:4000' - environment: - SIGN_UP_DISABLED: "true" - # volumes: - # - /mnt/tank/persist/nixc.us/whisper/production/data:/var/opt/whisper deploy: placement: constraints: @@ -32,6 +25,7 @@ services: traefik.http.routers.production-whisper_whisper.service: "production-whisper_whisper" traefik.http.services.production-whisper_whisper.loadbalancer.server.port: "5173" traefik.docker.network: "traefik" + # traefik.http.routers.production_whisper.middlewares: 'authelia_authelia@docker' traefik.http.routers.production_whisper.middlewares: 'authelia_authelia@docker' update_config: order: stop-first diff --git a/stack.staging.yml b/stack.staging.yml index 9f54b7f..c71f3b2 100644 --- a/stack.staging.yml +++ b/stack.staging.yml @@ -1,6 +1,11 @@ +networks: + traefik: + external: true services: whisper: image: git.nixc.us/nixius/whisper:staging + networks: + - traefik deploy: placement: constraints: