mariadb -> postgres
This commit is contained in:
parent
78983f46d8
commit
9818af04a1
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue