Don't need internal network anymore...
This commit is contained in:
parent
a5eb2353d1
commit
dc8b3fed96
|
@ -7,10 +7,7 @@ let
|
||||||
lemmyImage = { ... }:
|
lemmyImage = { ... }:
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
project.name = "lemmy";
|
project.name = "lemmy";
|
||||||
networks = {
|
networks = { external_network.internal = false; };
|
||||||
internal_network.internal = true;
|
|
||||||
external_network.internal = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
docker-compose.volumes = {
|
docker-compose.volumes = {
|
||||||
postgres-data = { };
|
postgres-data = { };
|
||||||
|
@ -27,7 +24,7 @@ let
|
||||||
"${cfg.admin-password-file}:${cfg.admin-password-file}"
|
"${cfg.admin-password-file}:${cfg.admin-password-file}"
|
||||||
];
|
];
|
||||||
ports = [ "${toString cfg.port}:80" ];
|
ports = [ "${toString cfg.port}:80" ];
|
||||||
networks = [ "internal_network" "internal_network" ];
|
networks = [ "external_network" ];
|
||||||
};
|
};
|
||||||
nixos = {
|
nixos = {
|
||||||
useSystemd = true;
|
useSystemd = true;
|
||||||
|
|
Loading…
Reference in New Issue