Jafner.net/archive/self-hosting/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

23 lines
752 B
YAML

version: "3.3"
services:
portainer:
image: portainer/portainer-ce
container_name: portainer-ce
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.enable=true"
- "traefik.frontend.rule=Host:docker.jafner.net"
- "traefik.port=9000"
- "traefik.docker.network=web"
volumes:
portainer_data:
networks:
web:
external: true