Jafner.net/docker_config/portainer/docker-compose.yml
Jafner c996f0bde6 Added Authelia SSO for some containers
Added:
- calibre-web-dev
- grafana
- portainer
to Authelia protected sites
2021-07-11 15:56:14 -07:00

24 lines
649 B
YAML

version: "3"
services:
portainer:
image: portainer/portainer-ce
container_name: portainer
command: -H unix:///var/run/docker.sock
networks:
- web
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
labels:
- traefik.http.routers.portainer.rule=Host(`portainer.jafner.net`)
- traefik.http.routers.portainer.tls.certresolver=lets-encrypt
- traefik.http.services.portainer.loadbalancer.server.port=9000
- traefik.http.routers.portainer.middlewares=authelia@file
volumes:
portainer_data:
networks:
web:
external: true