chore: dev setup

This commit is contained in:
2026-02-24 16:22:08 +01:00
parent 6864903cff
commit 31685a458b
5 changed files with 21 additions and 4 deletions

View File

@@ -1,4 +1,16 @@
services:
# Lightweight proxy: gives Caddy the labels to route mintel.localhost → host Mac
proxy:
image: alpine:latest
command: sleep infinity
restart: unless-stopped
networks:
- infra
labels:
- "caddy=http://${TRAEFIK_HOST:-mintel.localhost}"
- "caddy.reverse_proxy=host.docker.internal:3000"
# Full Docker dev (use with `pnpm run dev:docker`)
app:
build:
context: .
@@ -41,9 +53,10 @@ services:
POSTGRES_DB: ${postgres_DB_NAME:-directus}
POSTGRES_USER: ${postgres_DB_USER:-directus}
POSTGRES_PASSWORD: ${postgres_DB_PASSWORD:-directus}
volumes:
- directus-db-data:/var/lib/postgresql/data
ports:
- "54321:5432"
networks:
default: