mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
15 lines
365 B
YAML
15 lines
365 B
YAML
services:
|
|
caddy:
|
|
image: caddy:latest
|
|
container_name: caddy
|
|
network_mode: "host" # Allow access to local networks (EX: Backend running on port 3000)
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./settings:/etc/caddy
|
|
- ./static:/srv/static
|
|
- ./caddy_data:/data
|
|
- ./caddy_config:/config
|
|
restart: unless-stopped
|