fix(docker): Fix malformed docker-compose.yml
- Resolved duplicate 'frontend' service definition - Resolved duplicate 'labels' key in go2rtc/frontend block - Ensured valid YAML structure
This commit is contained in:
parent
225bf3608e
commit
cfb3caabe7
1 changed files with 7 additions and 7 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue