fix(docker): Fix malformed docker-compose.yml
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Test / backend-test (push) Failing after 0s
Test / frontend-test (push) Failing after 0s

- Resolved duplicate 'frontend' service definition
- Resolved duplicate 'labels' key in go2rtc/frontend block
- Ensured valid YAML structure
This commit is contained in:
fullsizemalt 2025-12-11 12:58:31 -08:00
parent 225bf3608e
commit cfb3caabe7

View file

@ -56,13 +56,6 @@ services:
retries: 3 retries: 3
start_period: 40s start_period: 40s
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
environment:
- VITE_API_URL=/api
go2rtc: go2rtc:
image: alexxit/go2rtc:latest image: alexxit/go2rtc:latest
restart: unless-stopped restart: unless-stopped
@ -78,6 +71,13 @@ services:
- "traefik.http.services.wolfpack-go2rtc.loadbalancer.server.port=1984" - "traefik.http.services.wolfpack-go2rtc.loadbalancer.server.port=1984"
volumes: volumes:
- ./go2rtc.yaml:/config/go2rtc.yaml - ./go2rtc.yaml:/config/go2rtc.yaml
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
environment:
- VITE_API_URL=/api
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.docker.network=traefik-public" - "traefik.docker.network=traefik-public"