39 lines
634 B
YAML
39 lines
634 B
YAML
---
|
|
services:
|
|
install_site:
|
|
build: install_site
|
|
environment:
|
|
- BASE_URL
|
|
- EMAIL
|
|
volumes:
|
|
- ./nginx.conf:/web/sonarr.conf
|
|
- sites:/sites/
|
|
- certs:/etc/letsencrypt/
|
|
- certbotroot:/var/www/certbot/
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
sonarr:
|
|
build: .
|
|
restart: unless-stopped
|
|
environment:
|
|
- PUID
|
|
- PGID
|
|
volumes:
|
|
- config:/config/
|
|
- $MEDIA_PATH:/data/
|
|
networks:
|
|
- nginx
|
|
|
|
volumes:
|
|
sites:
|
|
external: true
|
|
certs:
|
|
external: true
|
|
certbotroot:
|
|
external: true
|
|
config: {}
|
|
|
|
networks:
|
|
nginx:
|
|
external: true
|