This commit is contained in:
Colin 2024-05-09 22:20:46 -04:00
parent 7539dcc983
commit d0cabe7b6f
3 changed files with 7 additions and 8 deletions

View File

@ -15,4 +15,4 @@ RUN npm install
EXPOSE 5173
# Command to run the app
CMD ["npm", "run", "dev"]
CMD ["npm", "run", "dev", "--host"]

View File

@ -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

View File

@ -1,6 +1,11 @@
networks:
traefik:
external: true
services:
whisper:
image: git.nixc.us/nixius/whisper:staging
networks:
- traefik
deploy:
placement:
constraints: