23 lines
412 B
YAML
23 lines
412 B
YAML
version: '3.5'
|
|
|
|
services:
|
|
app:
|
|
image: 'portainer/portainer-ce:latest'
|
|
restart: 'always'
|
|
|
|
labels:
|
|
- 'com.centurylinklabs.watchtower.enable=true'
|
|
networks:
|
|
- 'nginx'
|
|
volumes:
|
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
|
- 'data:/data'
|
|
|
|
networks:
|
|
nginx:
|
|
external:
|
|
name: 'nginx'
|
|
|
|
volumes:
|
|
data:
|