mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 01:10:11 -08:00
added caddy webserver
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,6 +6,7 @@ standard-notes/
|
|||||||
pinchflat/
|
pinchflat/
|
||||||
homepage/config/logs/
|
homepage/config/logs/
|
||||||
speedtest/config/
|
speedtest/config/
|
||||||
|
caddy/ts-caddy/
|
||||||
|
|
||||||
# ignore environment files
|
# ignore environment files
|
||||||
.env
|
.env
|
||||||
|
|||||||
18
caddy/docker-compose.yml
Normal file
18
caddy/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
services:
|
||||||
|
ts-caddy:
|
||||||
|
image: tailscale/tailscale:latest
|
||||||
|
container_name: ts-caddy
|
||||||
|
hostname: ts-caddy
|
||||||
|
environment:
|
||||||
|
- TS_AUTHKEY:${TAILSCALE_AUTHKEY}
|
||||||
|
- TS_SOCKET:/var/run/tailscale/tailscaled.sock
|
||||||
|
volumes:
|
||||||
|
- ${PWD}/ts-caddy/state:/var/lib/tailscale
|
||||||
|
- /dev/net/tun:/dev/net/tun
|
||||||
|
cap_add:
|
||||||
|
- net_admin
|
||||||
|
- sys_module
|
||||||
|
restart: unless-stopped
|
||||||
|
caddy:
|
||||||
|
image: caddy/caddy:latest
|
||||||
|
network_mode: service:ts-caddy
|
||||||
Reference in New Issue
Block a user