30 lines
769 B
YAML
30 lines
769 B
YAML
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
|
|
portainer:
|
|
image: portainer/portainer-ce:2.19.4-alpine@sha256:22fab457f67449971fa31860bec5e9f5f5dae8e3209eefb338c557c0bc3b4fb7
|
|
restart: unless-stopped
|
|
labels:
|
|
caddy: beta.fogtype.com
|
|
caddy.reverse_proxy: "{{upstreams 9000}}"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- portainer_data:/data
|
|
networks:
|
|
default:
|
|
name: caddy
|
|
volumes:
|
|
caddy_data:
|
|
caddy_config:
|
|
portainer_data:
|