docker-compose.yaml (view raw)
1services:
2 app:
3 build: .
4 image: ghcr.io/birabittoh/fixyoutube-go:main
5 container_name: fixyoutube-go
6 restart: unless-stopped
7 environment:
8 - API_KEY=${API_KEY}
9 swag:
10 image: ghcr.io/linuxserver/swag
11 container_name: swag
12 cap_add:
13 - NET_ADMIN
14 env_file:
15 - docker/swag.env
16 volumes:
17 #- /etc/config/swag:/config
18 - ./docker/fixyoutube.subdomain.conf:/config/nginx/proxy-confs/fixyoutube.subdomain.conf:ro
19 ports:
20 - 443:443
21 - 80:80
22 restart: unless-stopped