Our Personal Data Server from scratch!
0

Configure Feed

Select the types of activity you want to include in your feed.

chore: add plc directory for local dev

Prevents us from polluting the real PLC directory.

Signed-off-by: Trezy <tre@trezy.com>

author
Trezy
committer
Tangled
date (May 19, 2026, 7:46 PM +0300) commit 0afcb2ee parent 8bd556f6
+17 -1
+16 -1
docker-compose.yaml
··· 14 14 - blob_data:/var/lib/tranquil-pds/blobs 15 15 - store_data:/var/lib/tranquil-pds/store 16 16 depends_on: 17 - - db 17 + db: 18 + condition: service_healthy 18 19 19 20 frontend: 20 21 profiles: [prod] ··· 44 45 timeout: 5s 45 46 retries: 10 46 47 start_period: 5s 48 + 49 + plc: 50 + profiles: [dev] 51 + build: 52 + context: https://github.com/did-method-plc/did-method-plc.git 53 + dockerfile: packages/server/Dockerfile 54 + environment: 55 + DB_CREDS_JSON: '{"username":"postgres","password":"postgres","host":"db","port":"5432","database":"plc"}' 56 + ENABLE_MIGRATIONS: "true" 57 + DB_MIGRATE_CREDS_JSON: '{"username":"postgres","password":"postgres","host":"db","port":"5432","database":"plc"}' 58 + PORT: "2582" 59 + depends_on: 60 + db: 61 + condition: service_healthy 47 62 48 63 traefik: 49 64 profiles: [dev]
+1
scripts/init-dev-dbs.sql
··· 1 + SELECT 'CREATE DATABASE plc' WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'plc')\gexec