23 lines
752 B
YAML
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
|