From 48d952fbd6ee996f458b50d4dfc9467e19793079 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Mon, 2 Jan 2023 11:39:42 +0900 Subject: [PATCH] deploy portainer-ce on beta.fogtype.com --- compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compose.yml b/compose.yml index 1feb51b..5202200 100644 --- a/compose.yml +++ b/compose.yml @@ -15,8 +15,9 @@ services: portainer: image: portainer/portainer-ce:2.16.2-alpine restart: unless-stopped - ports: - - "127.0.0.1:9000:9000" + labels: + caddy: beta.fogtype.com + caddy.reverse_proxy: "{{upstreams 9000}}" volumes: - /var/run/docker.sock:/var/run/docker.sock - portainer_data:/data