From 161c0318421dcee89ba75c6225d9553fddabb96b Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Thu, 21 Sep 2023 11:38:01 +0200 Subject: [PATCH] =?UTF-8?q?docker-compose.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..a9e0b85 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,33 @@ +services: + agent: + image: portainer/agent + container_name: portainer-agent + restart: always + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - /var/lib/docker/volumes:/var/lib/docker/volumes + labels: + - com.centurylinklabs.watchtower.enable=true + + portainer: + image: portainer/portainer-ce + container_name: portainer + restart: always + command: -H tcp://agent:9001 --tlsskipverify + ports: + - "9000:9000" + volumes: + - portainer_data:/data + labels: + - com.centurylinklabs.watchtower.enable=true + networks: + - proxy + - default + +volumes: + portainer_data: + +networks: + proxy: + external: + name: proxy \ No newline at end of file