drasl/example/docker-caddy/docker-compose.yaml
Evan Goode 478952b04b Fix docker-caddy example
The Caddy container couldn't access the Drasl container unless using
net=host. Also remove the :25585 port mapping in docker-compose.yaml,
they're no longer needed, and the "version" field, it's obsolete now.

May resolve https://github.com/unmojang/drasl/issues/60
2024-04-20 15:47:49 -04:00

16 lines
299 B
YAML

services:
caddy:
image: caddy
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./caddy/data:/data
- ./caddy/config:/config
drasl:
image: unmojang/drasl
volumes:
- ./config:/etc/drasl
- ./data:/var/lib/drasl