services: focus-backend: container_name: focus-backend image: git.bhasher.com/bhasher/focus-backend:latest pull_policy: always 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" - "traefik.http.routers.focus-backend.middlewares=authelia@docker" networks: - external focus-frontend: container_name: focus-frontend image: git.bhasher.com/bhasher/focus-frontend:latest pull_policy: always environment: - PUBLIC_BACKEND_URL=https://focus.bhasher.com labels: - "traefik.enable=true" - "traefik.http.routers.focus-frontend.rule=Host(`focus.bhasher.com`)" - "traefik.http.services.focus-frontend.loadbalancer.server.port=80" - "traefik.http.routers.focus-frontend.tls=true" - "traefik.http.routers.focus-frontend.tls.certresolver=http" - "traefik.http.routers.focus-frontend.entrypoints=internalsecure" - "traefik.http.routers.focus-frontend.middlewares=authelia@docker" networks: - external