diff options
| author | RATDAD <lambda@disroot.org> | 2025-12-17 19:53:38 -0500 |
|---|---|---|
| committer | RATDAD <lambda@disroot.org> | 2025-12-17 19:53:38 -0500 |
| commit | a50e5d21b0430a734929bc17017cc8c394b25524 (patch) | |
| tree | 8a61bac5b36ca8725f3fdf64d30073b081c7d643 /stacks/edge/compose.yml | |
| download | rds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.tar.gz rds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.tar.bz2 rds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.zip | |
Initial Commit
Diffstat (limited to 'stacks/edge/compose.yml')
| -rw-r--r-- | stacks/edge/compose.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/stacks/edge/compose.yml b/stacks/edge/compose.yml new file mode 100644 index 0000000..1fc33a7 --- /dev/null +++ b/stacks/edge/compose.yml @@ -0,0 +1,34 @@ +name: ${_STACK} + +volumes: + data: + name: ${_DATA_VOLUME} + external: true + config: + name: ${_CONFIG_VOLUME} + external: true + +networks: + net: + name: ${_NET} + external: true + +services: + srv: + container_name: ${_CONTAINER} + image: caddy:latest + restart: unless-stopped + env_file: + - .edge.env + - .env + networks: + - net + ports: + - 80:80 + - 443:443 + - 443:443/udp + volumes: + - ${_CADDYFILE:-./Caddyfile}:/etc/caddy/Caddyfile + - ${_WEBROOT:-.srv/}:/srv + - ${data:-.data/}:/data + - ${config:-.config/}:/config |
