25 lines
596 B
YAML
25 lines
596 B
YAML
services:
|
|
portainer:
|
|
image: portainer/portainer-ce:latest
|
|
container_name: portainer
|
|
command: -H tcp://tasks.portainer_agent:9001 --tlsskipverify
|
|
restart: unless-stopped
|
|
volumes:
|
|
- portainer_data:/data
|
|
networks:
|
|
- proxy_net
|
|
agent:
|
|
image: portainer/agent:latest
|
|
container_name: portainer_agent
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${WG_IP}:9001:9001"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
|
networks:
|
|
proxy_net:
|
|
external: true
|
|
volumes:
|
|
portainer_data:
|