diff --git a/portainer/docker-compose.yml b/portainer/docker-compose.yml new file mode 100644 index 0000000..e863a8a --- /dev/null +++ b/portainer/docker-compose.yml @@ -0,0 +1,22 @@ +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: