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

10 lines
277 B
Caddyfile

# Should be the same as `Domain` in Drasl's config.toml
drasl.example.com
# Email address to use for obtaining TLS certificates
tls mail@example.com
# In this instance, `drasl` is the name of the Drasl container, specified in
# docker-compose.yaml.
reverse_proxy drasl:25585