Initial commit

This commit is contained in:
Florian Zirker 2021-01-09 20:40:51 +01:00 committed by Florian Zirker
commit 6c8bbaf8ac
15 changed files with 918 additions and 0 deletions

View file

@ -0,0 +1,25 @@
version: "3.3"
services:
app:
image: portainer/portainer-ce
volumes:
- ${VOLUMES_PATH}/portainer:/data
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
expose:
- "9000"
networks:
- web
labels:
- "traefik.enable=true"
- "traefik.http.routers.portainer.rule=Host(`portainer.${DOMAIN}`)"
- "traefik.http.routers.portainer.entrypoints=web"
- "traefik.http.services.portainer.loadbalancer.server.port=9000"
- "docker.group=selfhost"
restart: unless-stopped
networks:
web:
external: true