stacks/portainer/docker-compose.yml

21 lines
412 B
YAML
Raw Permalink Normal View History

version: '3.9'
services:
web:
image: portainer/portainer-ce:latest
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- data:/data
ports:
- 9000:9000
agent:
image: portainer/agent:latest
restart: unless-stopped
volumes:
- /var/lib/docker/volumes:/var/lib/docker/volumes
- /var/run/docker.sock:/var/run/docker.sock
volumes:
data: