You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
465 B
8 lines
465 B
-- Initialization script for the NetBird management database and user.
|
|
-- The password here MUST match the one in the PostgreSQL DSN of management.env
|
|
-- (NETBIRD_STORE_ENGINE_POSTGRES_DSN). This example ships an insecure password; the
|
|
-- operator overrides both in production.
|
|
CREATE USER netbird WITH PASSWORD 'netbird';
|
|
CREATE DATABASE netbird OWNER netbird;
|
|
GRANT ALL PRIVILEGES ON DATABASE netbird TO netbird;
|
|
ALTER ROLE netbird SET client_encoding TO 'utf8';
|
|
|