This commit is contained in:
Brieuc Dubois 2024-01-14 02:01:01 +01:00
parent 878a5ce063
commit eb5228b13d
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
services: services:
focus-backend: focus-backend:
container_name: focus-backend container_name: focus-backend
image: git.bhasher.com/bhasher/focus-backend:latest image: registry.bhasher.com/focus-backend:dev
volumes: volumes:
- $DATA/focus:/data - $DATA/focus:/data
labels: labels:
@ -11,21 +11,24 @@ services:
- "traefik.http.routers.focus-backend.tls=true" - "traefik.http.routers.focus-backend.tls=true"
- "traefik.http.routers.focus-backend.tls.certresolver=http" - "traefik.http.routers.focus-backend.tls.certresolver=http"
- "traefik.http.routers.focus-backend.entrypoints=internalsecure" - "traefik.http.routers.focus-backend.entrypoints=internalsecure"
- "traefik.http.routers.focus-backend.middlewares=authelia@docker"
networks: networks:
- external - external
focus-frontend: focus-frontend:
container_name: focus-frontend container_name: focus-frontend
image: git.bhasher.com/bhasher/focus-frontend:latest #image: git.bhasher.com/bhasher/focus-frontend:latest
image: registry.bhasher.com/focus-frontend:dev
environment: environment:
- PUBLIC_BACKEND_URL=https://focus.bhasher.com - PUBLIC_BACKEND_URL=https://focus.bhasher.com
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.focus-frontend.rule=Host(`focus.bhasher.com`)" - "traefik.http.routers.focus-frontend.rule=Host(`focus.bhasher.com`)"
- "traefik.http.services.focus-frontend.loadbalancer.server.port=4173" - "traefik.http.services.focus-frontend.loadbalancer.server.port=80"
- "traefik.http.routers.focus-frontend.tls=true" - "traefik.http.routers.focus-frontend.tls=true"
- "traefik.http.routers.focus-frontend.tls.certresolver=http" - "traefik.http.routers.focus-frontend.tls.certresolver=http"
- "traefik.http.routers.focus-frontend.entrypoints=internalsecure" - "traefik.http.routers.focus-frontend.entrypoints=internalsecure"
- "traefik.http.routers.focus-frontend.middlewares=authelia@docker"
networks: networks:
- external - external