This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
self-hosting/portainer/docker-compose.yml

25 lines
453 B
YAML

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