christianlempa-boilerplates/docker-compose/portainer/docker-compose.yaml

17 lines
322 B
YAML
Raw Normal View History

2023-05-25 14:26:13 +02:00
---
volumes:
portainer-data:
driver: local
2021-06-11 15:05:20 +02:00
services:
app:
2021-12-30 11:46:21 +01:00
container_name: portainer
2023-05-25 14:26:13 +02:00
image: portainer/portainer-ce:latest
2021-06-11 15:05:20 +02:00
ports:
2023-05-25 14:26:13 +02:00
- 9000:9000
- 9443:9443
- 8000:8000
2021-06-11 15:05:20 +02:00
volumes:
- /var/run/docker.sock:/var/run/docker.sock
2021-12-30 11:46:21 +01:00
- portainer-data:/data
restart: unless-stopped