Postgres, Zitadel and SeaweedFS were previously duplicated or fragilely cross-referenced across the Musify, Ping and docker-manager repos. This consolidates them into one place: compose.yml is the production shape (no published ports, joins infra-net), compose.dev.yml is a thin overlay that publishes ports for local development.
10 lines
431 B
SQL
10 lines
431 B
SQL
-- Runs once, only on first init of the postgres_data volume.
|
|
-- Zitadel provisions its own "zitadel" database itself, from the
|
|
-- ZITADEL_DATABASE_POSTGRES_ADMIN_* credentials in compose.yml — it does not
|
|
-- need to be created here. This script only creates the plain application
|
|
-- databases each project's own connection string points at.
|
|
|
|
CREATE DATABASE musify_db;
|
|
CREATE DATABASE ping_db;
|
|
CREATE DATABASE dockermanager_db;
|