mariadb -> postgres

This commit is contained in:
niten 2023-08-31 15:16:10 -07:00
parent 78983f46d8
commit 9818af04a1
1 changed files with 1 additions and 2 deletions

View File

@ -30,7 +30,6 @@ in {
images = { images = {
nextcloud = mkOption { type = str; }; nextcloud = mkOption { type = str; };
postgres = mkOption { type = str; }; postgres = mkOption { type = str; };
nginx = mkOption { type = str; };
}; };
uids = { uids = {
@ -110,7 +109,7 @@ in {
nextcloud.service = { nextcloud.service = {
image = cfg.images.nextcloud; image = cfg.images.nextcloud;
restart = "always"; restart = "always";
links = [ "mariadb" ]; links = [ "postgres" ];
env_file = [ hostSecrets.nextcloudEnv.target-file ]; env_file = [ hostSecrets.nextcloudEnv.target-file ];
volumes = [ volumes = [
"${cfg.state-directory}/nextcloud:/var/www/html" "${cfg.state-directory}/nextcloud:/var/www/html"