docker-compose.yml
· 244 B · YAML
Raw
services:
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
volumes:
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 9443:9443
restart: always
1 | services: |
2 | portainer: |
3 | image: portainer/portainer-ce:latest |
4 | container_name: portainer |
5 | volumes: |
6 | - ./data:/data |
7 | - /var/run/docker.sock:/var/run/docker.sock |
8 | ports: |
9 | - 9443:9443 |
10 | restart: always |