app-store/apps/portainer/docker-compose.yml

22 lines
703 B
YAML
Raw Normal View History

2022-09-07 05:09:27 +00:00
version: "3.7"
2022-07-28 17:46:12 +00:00
services:
portainer:
image: portainer/portainer-ce:2.18.2-alpine
2022-07-28 17:46:12 +00:00
container_name: portainer
restart: unless-stopped
ports:
2022-11-11 19:33:58 +00:00
- ${APP_PORT}:9443
- 9000:9000
2022-07-28 17:46:12 +00:00
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- "${APP_DATA_DIR}/data:/data"
networks:
2022-11-11 19:33:58 +00:00
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.portainer.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.portainer.entrypoints: websecure
traefik.http.routers.portainer.service: portainer
traefik.http.routers.portainer.tls.certresolver: myresolver
traefik.http.services.portainer.loadbalancer.server.port: 9000