docs(docker): add docker-compose sample

This commit is contained in:
Alexis Couvreur
2021-09-26 14:36:48 +00:00
committed by GitHub
parent 19d3b71722
commit 281b657123

16
docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
version: "3.9"
services:
ondemand:
image: gchr.io/acouvreur/traefik-ondemand-service:latest
command:
- --swarmMode=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- traefik
networks:
traefik:
external: true
name: traefik