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

23 lines
412 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'
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- 'data:/data'
networks:
nginx:
external:
name: 'nginx'
volumes:
data: