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
Raw Normal View History

2021-01-05 12:18:51 +01:00
version: '3.5'
services:
app:
image: 'portainer/portainer-ce:latest'
restart: 'always'
labels:
- 'com.centurylinklabs.watchtower.enable=true'
networks:
- 'nginx'
2021-01-05 13:26:59 +01:00
ports:
- '8000:8000'
2021-01-05 12:18:51 +01:00
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- 'data:/data'
networks:
nginx:
external:
name: 'nginx'
volumes:
data: