netflux-kubernetes/kind/bin/setup-dev-db.sql

11 lines
429 B
MySQL
Raw Normal View History

2022-05-17 18:40:04 +00:00
-- Setup the PostgreSQL instance in the dev cluster.
-- TODO: automate the execution post-cluster start.
CREATE DATABASE invidious;
CREATE ROLE kemal LOGIN ENCRYPTED PASSWORD 'kemal';
2022-05-17 18:40:04 +00:00
GRANT ALL PRIVILEGES ON DATABASE invidious TO kemal;
CREATE DATABASE grafana;
CREATE DATABASE drone;
CREATE DATABASE gitea;
2022-06-04 01:07:12 +00:00
CREATE DATABASE synapse ENCODING UTF8 LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0;
CREATE DATABASE solar_toolkit_dev;