Track all active Proxmox swarm stack YMLs, NATS config, Postgres init SQL, and env generation script. Update .gitignore for homelab project. Add CLAUDE.md for project context. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
707 B
SQL
18 lines
707 B
SQL
-- Postgres init script
|
|
-- Runs once on first boot when data volume is empty.
|
|
-- Creates a database and scoped user for each service.
|
|
|
|
-- FusionAuth
|
|
CREATE USER fusionauth_user WITH PASSWORD 'lXG9oNwbj0DEVaCjwjI9Fomhjs7mSgRd';
|
|
CREATE DATABASE fusionauth_db OWNER fusionauth_user;
|
|
GRANT ALL PRIVILEGES ON DATABASE fusionauth_db TO fusionauth_user;
|
|
|
|
-- n8n
|
|
CREATE USER n8n_user WITH PASSWORD 'peiKxDe3X7QWZhhrP1M8jKlnV2nLgqSp';
|
|
CREATE DATABASE n8n_db OWNER n8n_user;
|
|
GRANT ALL PRIVILEGES ON DATABASE n8n_db TO n8n_user;
|
|
|
|
-- c4trou
|
|
CREATE USER c4trou_user WITH PASSWORD 'mlhWiZcp5I2kXwRmyFEMPjZz6BX6ZjLi';
|
|
CREATE DATABASE c4trou_db OWNER c4trou_user;
|
|
GRANT ALL PRIVILEGES ON DATABASE c4trou_db TO c4trou_user;
|