From 910075d6f7d6fcef4fa13819cd7f7f6f8ce93359 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Mon, 2 Jan 2023 11:25:37 +0900 Subject: [PATCH] add portainer-ce --- compose.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/compose.yml b/compose.yml index 29f8ad1..1feb51b 100644 --- a/compose.yml +++ b/compose.yml @@ -12,9 +12,18 @@ services: - /var/run/docker.sock:/var/run/docker.sock - caddy_data:/data - caddy_config:/config + portainer: + image: portainer/portainer-ce:2.16.2-alpine + restart: unless-stopped + ports: + - "127.0.0.1:9000:9000" + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - portainer_data:/data networks: default: name: caddy volumes: caddy_data: caddy_config: + portainer_data: