Restructure docker into layered compose files, add a Makefile

Move compose.yml/compose.override.yml/compose.traefik.yml into docker/ and
split into the explicit prod -> dev -> local layering; compose.override.yml
had to be renamed because docker compose auto-loads that filename, which
defeats the layering.

- external network traefik-public -> proxy (shared with the website stack)
- frontend host dashboard.${DOMAIN} -> app.${DOMAIN}
- stable container_names, security_opt no-new-privileges on prod services
- adminer bound to 127.0.0.1 in dev instead of all interfaces
- .env.example replaces the committed .env
- pre-commit biome hook ran npm in a bun repo

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Melvin Strobl
2026-08-09 15:21:34 +02:00
co-authored by Claude Opus 5
parent 1916f7f778
commit 529b5f9ed5
6 changed files with 203 additions and 79 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ repos:
hooks:
- id: local-biome-check
name: biome check
entry: npm run lint
entry: bun run lint
language: system
types: [text]
files: ^frontend/