mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 10:48:56 +02:00
Add bluemap sql database
This commit is contained in:
parent
36b9c2f141
commit
baf645655b
1 changed files with 9 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ in {
|
||||||
local all all trust
|
local all all trust
|
||||||
host all all 10.1.1.4/32 scram-sha-256
|
host all all 10.1.1.4/32 scram-sha-256
|
||||||
host all all 10.1.1.249/32 scram-sha-256
|
host all all 10.1.1.249/32 scram-sha-256
|
||||||
|
host all all 10.1.1.244/32 scram-sha-256
|
||||||
host all all 127.0.0.1/32 trust
|
host all all 127.0.0.1/32 trust
|
||||||
host all all ::1/128 trust
|
host all all ::1/128 trust
|
||||||
'';
|
'';
|
||||||
|
|
@ -115,3 +116,11 @@ in {
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sudo -u postgres psql
|
||||||
|
CREATE DATABASE bluemap;
|
||||||
|
CREATE USER bluemap WITH PASSWORD 'MTTd35ReP4NQNPT9cI7HIaqSaeQPbndqE5uIWACAYmDKcvstmo';
|
||||||
|
GRANT ALL PRIVILEGES ON DATABASE bluemap TO bluemap;
|
||||||
|
\q
|
||||||
|
# For Postgres you may need to allow remote connections and adjust pg_hba.conf
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue