From f1f63cc761289d99e6c1fc4f96349f72f1fde2f9 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 30 Dec 2022 12:32:31 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eportainer/docker-compose.yml=E2=80=9C?= =?UTF-8?q?=20hinzuf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- portainer/docker-compose.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..40d51d2 --- /dev/null +++ b/portainer/docker-compose.yml @@ -0,0 +1,21 @@ +version: '3.9' + +services: + web: + image: portainer/portainer-ce:latest + restart: unless-stopped + volumes: + - /etc/localtime:/etc/localtime:ro + - data:/data + ports: + - 9000:9000 + + agent: + image: portainer/agent:latest + restart: unless-stopped + volumes: + - /var/lib/docker/volumes:/var/lib/docker/volumes + - /var/run/docker.sock:/var/run/docker.sock + +volumes: + data: \ No newline at end of file