isengard: fixed podman containers not resolving hostnames
This commit is contained in:
parent
ba1cd84a71
commit
ef91ea4e61
@ -37,6 +37,7 @@
|
|||||||
virtualisation.podman = {
|
virtualisation.podman = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dockerCompat = true;
|
dockerCompat = true;
|
||||||
|
defaultNetwork.settings.dns_enabled = true;
|
||||||
};
|
};
|
||||||
virtualisation.oci-containers.backend = "podman";
|
virtualisation.oci-containers.backend = "podman";
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
|
|||||||
@ -13,7 +13,6 @@ in
|
|||||||
nextcloud = {
|
nextcloud = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
image = "nextcloud:31-apache";
|
image = "nextcloud:31-apache";
|
||||||
hostname = "nextcloud";
|
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
"0.0.0.0:10003:80"
|
"0.0.0.0:10003:80"
|
||||||
@ -35,7 +34,6 @@ in
|
|||||||
|
|
||||||
nextcloud-db = {
|
nextcloud-db = {
|
||||||
image = "postgres:18"; # trixie
|
image = "postgres:18"; # trixie
|
||||||
hostname = "nextcloud-db";
|
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"${workDir}/db:/var/lib/postgresql"
|
"${workDir}/db:/var/lib/postgresql"
|
||||||
@ -48,7 +46,6 @@ in
|
|||||||
|
|
||||||
nextcloud-redis = {
|
nextcloud-redis = {
|
||||||
image = "redis:8-alpine"; # trixie
|
image = "redis:8-alpine"; # trixie
|
||||||
hostname = "nextcloud-redis";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user