12 lines
466 B
YAML
12 lines
466 B
YAML
services:
|
|
portainer:
|
|
image: portainer/portainer-ce
|
|
container_name: portainer
|
|
restart: always
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
command: --admin-password ${PORTAINER_ADMIN_PASSWORD} --host=unix:///var/run/docker.sock
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.portainer.rule=Host(`portainer.${TRAEFIK_DOMAIN}`)"
|
|
- "traefik.http.services.portainer-seedbox.loadbalancer.server.port=9000" |