2023-09-26 09:53:42 +02:00
|
|
|
services:
|
|
|
|
portainer:
|
|
|
|
container_name: portainer
|
2024-01-19 13:50:39 +01:00
|
|
|
image: portainer/portainer-ee:latest
|
2023-09-26 11:14:50 +02:00
|
|
|
#ports:
|
|
|
|
#- "9443:9443"
|
2023-09-26 09:53:42 +02:00
|
|
|
volumes:
|
|
|
|
- $DATA/portainer:/data:rw
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.portainer.rule=Host(`portainer.bxl.bhasher.com`)"
|
|
|
|
- "traefik.http.routers.portainer.entrypoints=externalsecure,internalsecure"
|
|
|
|
- "traefik.http.services.portainer.loadbalancer.server.port=9000"
|
|
|
|
- "traefik.http.routers.portainer.tls=true"
|
|
|
|
- "traefik.http.routers.portainer.tls.certresolver=http"
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- external
|
|
|
|
|
|
|
|
networks:
|
|
|
|
external:
|
|
|
|
external: true
|