Initial Commit

Adding docker compose stacks
This commit is contained in:
2024-10-01 21:51:58 +00:00
commit 36ca607c74
12 changed files with 376 additions and 0 deletions

25
portainer/compose.yml Normal file
View File

@@ -0,0 +1,25 @@
services:
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
ports:
- 9000:9000
volumes:
- portainer_data:/data
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.portainer.rule=Host(`portainer.nearfuture`)"
- "traefik.http.routers.portainer.entrypoints=web"
- "traefik.http.services.portainer.loadbalancer.server.port=9000"
networks:
proxy:
external: true
volumes:
portainer_data: