From f9e5159f8585f7c6d210276e0c41b8f182b0bbd0 Mon Sep 17 00:00:00 2001 From: thoralmighty Date: Mon, 19 Jun 2023 18:31:06 +0200 Subject: [PATCH] Added Portainer --- portainer-agent/docker-compose.yml | 11 +++++++++++ portainer/docker-compose.yml | 17 +++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 portainer-agent/docker-compose.yml create mode 100644 portainer/docker-compose.yml diff --git a/portainer-agent/docker-compose.yml b/portainer-agent/docker-compose.yml new file mode 100644 index 0000000..41bd4ce --- /dev/null +++ b/portainer-agent/docker-compose.yml @@ -0,0 +1,11 @@ +version: '3.3' +services: + agent: + ports: + - '9001:9001' + container_name: portainer_agent + restart: always + volumes: + - '/var/run/docker.sock:/var/run/docker.sock' + - '/var/lib/docker/volumes:/var/lib/docker/volumes' + image: 'portainer/agent:2.18.2' diff --git a/portainer/docker-compose.yml b/portainer/docker-compose.yml new file mode 100644 index 0000000..5c9a91e --- /dev/null +++ b/portainer/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.3' +services: + portainer-ce: + ports: + - '8000:8000' + - '9443:9443' + container_name: portainer + restart: always + volumes: + - '/var/run/docker.sock:/var/run/docker.sock' + - 'portainer_data:/data' + image: 'portainer/portainer-ce:latest' + +volumes: + portainer_data: + name: "portainer_data" + external: true