Jafner.net/archive/docker_config/portainer/docker-compose.yml
Joey Hafner 6086222503
Reorganize root level of repo.
- Move homelab, Jafner.dev (now called blog) to root.
- Rename "archived projects" -> "archive"
- Rename "active projects" -> "projects"
- Rename "jafner-homebrew" -> "5ehomebrew"
- Rename "docker-llm-amd" -> "local-ai"
2024-07-16 12:17:55 -07:00

25 lines
677 B
YAML

version: "3"
services:
portainer:
image: portainer/portainer-ce
container_name: portainer
restart: unless-stopped
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