32 lines
540 B
YAML
32 lines
540 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
image: caddy-custom:2-alpine
|
|
restart: always
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
- "443:443/udp"
|
|
- "8008:8008"
|
|
- "8448:8448"
|
|
env_file:
|
|
- .env
|
|
- .secret.env
|
|
volumes:
|
|
- ./config:/etc/caddy/
|
|
- data:/data
|
|
- /run/tailscale/tailscaled.sock:/run/tailscale/tailscaled.sock
|
|
extra_hosts:
|
|
- host.docker.internal:host-gateway
|
|
networks:
|
|
apps:
|
|
|
|
volumes:
|
|
data:
|
|
|
|
networks:
|
|
apps:
|
|
external: true
|