beta.fogtype.com/compose.yml

32 lines
780 B
YAML
Raw Normal View History

2024-01-03 21:34:51 +09:00
name: beta
2023-01-02 00:40:21 +09:00
services:
caddy:
image: git.fogtype.com/nebel/caddy-docker-proxy
build: "."
restart: unless-stopped
ports:
- "80:80"
- "443:443/udp"
- "443:443/tcp"
- "127.0.0.1:2019:2019"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- caddy_data:/data
- caddy_config:/config
2023-01-02 11:25:37 +09:00
portainer:
image: portainer/portainer-ce:2.24.0-alpine@sha256:2297a780b44d4b219faa5380a849faad039c5388812b575e664d487c3f472a4a
2023-01-02 11:25:37 +09:00
restart: unless-stopped
labels:
caddy: beta.fogtype.com
caddy.reverse_proxy: "{{upstreams 9000}}"
2023-01-02 11:25:37 +09:00
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
2023-01-02 00:40:21 +09:00
networks:
default:
name: caddy
volumes:
caddy_data:
caddy_config:
2023-01-02 11:25:37 +09:00
portainer_data: