From bcc88886bf774ab9675c3d31f6f664e24ab41cd5 Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Tue, 5 Jan 2021 12:18:51 +0100 Subject: [PATCH] Added portainer config --- portainer/docker-compose.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 portainer/docker-compose.yml 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: