Make env files available inside the container
This commit is contained in:
parent
b7f087905a
commit
cf3e3aabfd
|
@ -93,7 +93,8 @@ in {
|
||||||
"postgres-data:/var/lib/postgres/data"
|
"postgres-data:/var/lib/postgres/data"
|
||||||
"redis-data:/var/lib/redis"
|
"redis-data:/var/lib/redis"
|
||||||
"mastodon-data:/var/lib/mastodon"
|
"mastodon-data:/var/lib/mastodon"
|
||||||
];
|
] ++ (map (env-file: "${env-file}:${env-file},ro")
|
||||||
|
cfg.environment-files);
|
||||||
ports = [ "${toString cfg.port}:80" ];
|
ports = [ "${toString cfg.port}:80" ];
|
||||||
};
|
};
|
||||||
nixos = {
|
nixos = {
|
||||||
|
|
Loading…
Reference in New Issue