Fixed Pleroma deployment error

pull/5/head
Illia Chub 2021-04-16 01:33:45 +03:00
parent 3e75d5ef4a
commit 19f2d0117d
1 changed files with 3 additions and 3 deletions

View File

@ -993,7 +993,7 @@ cat > /etc/nixos/social/pleroma.nix << EOF
initialScript = "/etc/setup.psql";
};
};
environment.etc."pleroma_setup.psql".text = ''
environment.etc."setup.psql".text = ''
CREATE USER pleroma WITH ENCRYPTED PASSWORD '$DB_PASSWORD';
CREATE DATABASE pleroma OWNER pleroma;
\\c pleroma;
@ -1013,7 +1013,7 @@ import Config
config :pleroma, Pleroma.Web.Endpoint,
url: [host: "social.$DOMAIN", scheme: "https", port: 443],
http: [ip: {127, 0, 0, 1}, port: 4000],
http: [ip: {127, 0, 0, 1}, port: 4000]
#secret_key_base: "",
#signing_salt: ""
@ -1038,7 +1038,7 @@ config :pleroma, Pleroma.Repo,
hostname: "localhost",
pool_size: 10
config :web_push_encryption, :vapid_details,
#config :web_push_encryption, :vapid_details,
#subject: "",
#public_key: "",
#private_key: ""