29 lines
664 B
YAML
29 lines
664 B
YAML
services:
|
|
traefik:
|
|
image: traefik:alpine
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./traefik.toml:/traefik.toml
|
|
- ./ssl/test.key:/ssl/traefik.key
|
|
- ./ssl/test.crt:/ssl/traefik.crt
|
|
ports:
|
|
- "172.17.0.1:80:80"
|
|
- "172.17.0.1:443:443"
|
|
- "172.17.0.1:8040:8040"
|
|
networks:
|
|
- federation
|
|
|
|
dnsmasq:
|
|
image: jamesmorrison/dnsmasq
|
|
ports:
|
|
- "172.17.0.1:53:53/udp"
|
|
- "172.17.0.1:53:53/tcp"
|
|
volumes:
|
|
- ./dnsmasq.conf:/etc/dnsmasq.conf
|
|
- ./funkwhale.test.conf:/etc/dnsmasq.d/funkwhale.test.conf
|
|
network_mode: bridge
|
|
|
|
networks:
|
|
federation:
|
|
external: true
|