|
|
|
@ -1,6 +1,19 @@
|
|
|
|
|
version: '3'
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
traefik:
|
|
|
|
|
# The official v2 Traefik docker image
|
|
|
|
|
image: traefik:v2.2
|
|
|
|
|
# Enables the web UI and tells Traefik to listen to docker
|
|
|
|
|
command: --api.insecure=true --providers.docker
|
|
|
|
|
ports:
|
|
|
|
|
# The HTTP port
|
|
|
|
|
- "80:80"
|
|
|
|
|
# The Web UI (enabled by --api.insecure=true)
|
|
|
|
|
- "10219:10219"
|
|
|
|
|
volumes:
|
|
|
|
|
# So that Traefik can listen to the Docker events
|
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
sonarr:
|
|
|
|
|
image: "linuxserver/sonarr"
|
|
|
|
|
ports:
|
|
|
|
|