24 lines
639 B
YAML
24 lines
639 B
YAML
services:
|
|
portainer:
|
|
image: portainer/portainer-ce:latest
|
|
container_name: portainer
|
|
restart: unless-stopped
|
|
volumes:
|
|
- portainer_data:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
networks:
|
|
- traefik-public
|
|
labels:
|
|
traefik.enable: true
|
|
traefik.http.routers.portainer.rule: Host(`docker.alice.ufsj.edu.br`)
|
|
traefik.http.routers.portainer.entrypoints: websecure
|
|
traefik.http.services.portainer.loadBalancer.server.port: 9000
|
|
traefik.http.routers.portainer.middlewares: 'authelia@docker'
|
|
|
|
volumes:
|
|
portainer_data:
|
|
|
|
networks:
|
|
traefik-public:
|
|
external: true
|