mirror of
https://github.com/atareao/self-hosted.git
synced 2024-06-27 01:25:40 +02:00
24 lines
407 B
YAML
24 lines
407 B
YAML
version: "3.7"
|
|
services:
|
|
caddy:
|
|
image: lucaslorentz/caddy-docker-proxy:ci-alpine
|
|
init: true
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
environment:
|
|
- CADDY_INGRESS_NETWORKS=proxy
|
|
networks:
|
|
- proxy
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- caddy_data:/data
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
|
|
volumes:
|
|
caddy_data: {}
|