2026-03-28 17:26:01 +00:00
|
|
|
networks:
|
|
|
|
|
caddy:
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
db:
|
|
|
|
|
|
|
|
|
|
configs:
|
|
|
|
|
dynamic.yml:
|
|
|
|
|
content: |
|
|
|
|
|
https://example.com, https://example.com:8448 {
|
|
|
|
|
reverse_proxy http://homeserver:8008
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-08 18:31:08 +02:00
|
|
|
services:
|
|
|
|
|
caddy:
|
2026-03-28 17:26:01 +00:00
|
|
|
image: docker.io/caddy:latest
|
2024-07-08 18:31:08 +02:00
|
|
|
ports:
|
|
|
|
|
- 80:80
|
|
|
|
|
- 443:443
|
2026-03-28 17:26:01 +00:00
|
|
|
- 8448:8448
|
2024-07-08 18:31:08 +02:00
|
|
|
networks:
|
|
|
|
|
- caddy
|
|
|
|
|
volumes:
|
|
|
|
|
- ./data:/data
|
|
|
|
|
restart: unless-stopped
|
2026-03-28 17:26:01 +00:00
|
|
|
configs:
|
|
|
|
|
- source: Caddyfile
|
|
|
|
|
target: /etc/caddy/Caddyfile
|
|
|
|
|
|
2024-07-08 18:31:08 +02:00
|
|
|
homeserver:
|
2025-04-20 23:50:48 +01:00
|
|
|
image: forgejo.ellis.link/continuwuation/continuwuity:latest
|
2024-07-08 18:31:08 +02:00
|
|
|
restart: unless-stopped
|
2026-03-11 14:59:58 +01:00
|
|
|
command: /sbin/conduwuit
|
2024-07-08 18:31:08 +02:00
|
|
|
volumes:
|
2025-05-10 20:37:08 +01:00
|
|
|
- db:/var/lib/continuwuity
|
2025-04-22 14:29:02 +01:00
|
|
|
- /etc/resolv.conf:/etc/resolv.conf:ro # Use the host's DNS resolver rather than Docker's.
|
2025-05-10 20:37:08 +01:00
|
|
|
#- ./continuwuity.toml:/etc/continuwuity.toml
|
2024-07-08 18:31:08 +02:00
|
|
|
environment:
|
2026-03-28 17:26:01 +00:00
|
|
|
CONTINUWUITY_SERVER_NAME: example.com
|
2025-05-10 20:37:08 +01:00
|
|
|
CONTINUWUITY_DATABASE_PATH: /var/lib/continuwuity
|
|
|
|
|
CONTINUWUITY_ADDRESS: 0.0.0.0
|
2026-03-28 09:22:40 +00:00
|
|
|
CONTINUWUITY_PORT: 8008
|
2025-05-10 20:37:08 +01:00
|
|
|
#CONTINUWUITY_CONFIG: '/etc/continuwuity.toml' # Uncomment if you mapped config toml above
|
2024-07-08 18:31:08 +02:00
|
|
|
networks:
|
2026-03-28 17:26:01 +00:00
|
|
|
- caddy
|