This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/caddy/docker-compose.yml

33 lines
540 B
YAML
Raw Normal View History

2022-08-22 21:05:13 +00:00
version: "3.7"
services:
app:
2022-11-23 14:56:14 +00:00
build:
context: .
image: caddy-custom:2-alpine
2022-08-22 21:05:13 +00:00
restart: always
ports:
- "80:80"
- "443:443"
- "443:443/udp"
- "8008:8008"
- "8448:8448"
2022-11-24 14:22:31 +00:00
env_file:
- .env
- .secret.env
2022-08-22 21:05:13 +00:00
volumes:
- ./config:/etc/caddy/
- data:/data
2023-03-13 22:30:36 +00:00
- /run/tailscale/tailscaled.sock:/run/tailscale/tailscaled.sock
2022-08-22 21:05:13 +00:00
extra_hosts:
- host.docker.internal:host-gateway
networks:
2022-09-10 11:30:53 +00:00
apps:
2022-08-22 21:05:13 +00:00
volumes:
data:
networks:
2022-09-10 11:30:53 +00:00
apps:
2022-08-22 21:05:13 +00:00
external: true