matrix-docker-ansible-deploy/examples/reverse-proxies/caddy2-in-container/docker-compose.yaml
Suguru Hirahara 3a1ea53739
Setting up REUSE: add copyright statements to files in examples/
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-08 05:00:58 +09:00

28 lines
535 B
YAML

# SPDX-FileCopyrightText: 2024 MDAD Team and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
version: "3.9"
services:
caddy:
image: caddy:2.5.1-alpine
networks:
# add this, so that caddy can talk to the playbook-managed-traefik
- traefik
ports:
- "80:80"
- "443:443"
- "8448:8448"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
# - ./site:/var/www
# Other configurations …
networks:
# add this as well
traefik:
name: traefik
external: true