chore: dev setup
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user