homelab/bxl-shp/apps/docker-compose.focus.yaml.old

36 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2024-01-10 00:10:41 +01:00
services:
focus-backend:
container_name: focus-backend
2024-01-17 15:04:43 +01:00
image: git.bhasher.com/bhasher/focus-backend:latest
pull_policy: always
2024-01-10 00:10:41 +01:00
volumes:
- $DATA/focus:/data
labels:
- "traefik.enable=true"
- "traefik.http.routers.focus-backend.rule=Host(`focus.bhasher.com`) && PathPrefix(`/api/`)"
- "traefik.http.services.focus-backend.loadbalancer.server.port=3000"
- "traefik.http.routers.focus-backend.tls=true"
- "traefik.http.routers.focus-backend.tls.certresolver=http"
- "traefik.http.routers.focus-backend.entrypoints=internalsecure"
2024-01-14 02:01:01 +01:00
- "traefik.http.routers.focus-backend.middlewares=authelia@docker"
2024-01-10 00:10:41 +01:00
networks:
- external
focus-frontend:
container_name: focus-frontend
2024-01-17 15:04:43 +01:00
image: git.bhasher.com/bhasher/focus-frontend:latest
pull_policy: always
2024-01-10 00:10:41 +01:00
environment:
- PUBLIC_BACKEND_URL=https://focus.bhasher.com
labels:
- "traefik.enable=true"
- "traefik.http.routers.focus-frontend.rule=Host(`focus.bhasher.com`)"
2024-01-14 02:01:01 +01:00
- "traefik.http.services.focus-frontend.loadbalancer.server.port=80"
2024-01-10 00:10:41 +01:00
- "traefik.http.routers.focus-frontend.tls=true"
- "traefik.http.routers.focus-frontend.tls.certresolver=http"
- "traefik.http.routers.focus-frontend.entrypoints=internalsecure"
2024-01-14 02:01:01 +01:00
- "traefik.http.routers.focus-frontend.middlewares=authelia@docker"
2024-01-10 00:10:41 +01:00
networks:
- external