22 lines
360 B
YAML
22 lines
360 B
YAML
services:
|
|
portainer:
|
|
image: portainer/portainer-ce:lts
|
|
command:
|
|
- --no-setup-token
|
|
container_name: portainer
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./data:/data
|
|
|
|
networks:
|
|
- proxy
|
|
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|