fds
This commit is contained in:
parent
bf8c2164b6
commit
888e793c2f
1 changed files with 39 additions and 0 deletions
39
Docker/caddy.yaml
Executable file
39
Docker/caddy.yaml
Executable file
|
|
@ -0,0 +1,39 @@
|
||||||
|
configs:
|
||||||
|
caddy-basic-content:
|
||||||
|
file: ./Caddyfile
|
||||||
|
labels:
|
||||||
|
caddy:
|
||||||
|
|
||||||
|
services:
|
||||||
|
caddy:
|
||||||
|
#image: lucaslorentz/caddy-docker-proxy:ci-alpine
|
||||||
|
#image: ghcr.io/serfriz/caddy-crowdsec:latest
|
||||||
|
#image: caddy-crowdsec
|
||||||
|
image: git.netgrimoire.com/traveler/caddy-bounce
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
- 443:443
|
||||||
|
environment:
|
||||||
|
- CADDY_INGRESS_NETWORKS=netgrimoire
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
|
- vpn
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /export/Docker/caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||||
|
- /export/Docker/caddy:/data
|
||||||
|
- /export/Docker/caddy/logs:/var/log/caddy # Mount logs for CrowdSec
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.hostname == nas
|
||||||
|
|
||||||
|
# restart: unless-stopped
|
||||||
|
|
||||||
|
networks:
|
||||||
|
netgrimoire:
|
||||||
|
external: true
|
||||||
|
vpn:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue