mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-25 21:11:27 +00:00
Fixed Pleroma deployment error
This commit is contained in:
parent
3e75d5ef4a
commit
19f2d0117d
|
@ -993,7 +993,7 @@ cat > /etc/nixos/social/pleroma.nix << EOF
|
||||||
initialScript = "/etc/setup.psql";
|
initialScript = "/etc/setup.psql";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.etc."pleroma_setup.psql".text = ''
|
environment.etc."setup.psql".text = ''
|
||||||
CREATE USER pleroma WITH ENCRYPTED PASSWORD '$DB_PASSWORD';
|
CREATE USER pleroma WITH ENCRYPTED PASSWORD '$DB_PASSWORD';
|
||||||
CREATE DATABASE pleroma OWNER pleroma;
|
CREATE DATABASE pleroma OWNER pleroma;
|
||||||
\\c pleroma;
|
\\c pleroma;
|
||||||
|
@ -1013,7 +1013,7 @@ import Config
|
||||||
|
|
||||||
config :pleroma, Pleroma.Web.Endpoint,
|
config :pleroma, Pleroma.Web.Endpoint,
|
||||||
url: [host: "social.$DOMAIN", scheme: "https", port: 443],
|
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: "",
|
#secret_key_base: "",
|
||||||
#signing_salt: ""
|
#signing_salt: ""
|
||||||
|
|
||||||
|
@ -1038,7 +1038,7 @@ config :pleroma, Pleroma.Repo,
|
||||||
hostname: "localhost",
|
hostname: "localhost",
|
||||||
pool_size: 10
|
pool_size: 10
|
||||||
|
|
||||||
config :web_push_encryption, :vapid_details,
|
#config :web_push_encryption, :vapid_details,
|
||||||
#subject: "",
|
#subject: "",
|
||||||
#public_key: "",
|
#public_key: "",
|
||||||
#private_key: ""
|
#private_key: ""
|
||||||
|
|
Loading…
Reference in a new issue