isengard: fixed podman containers not resolving hostnames

This commit is contained in:
Victor Ișan 2026-03-04 19:27:31 +01:00
parent ba1cd84a71
commit ef91ea4e61
2 changed files with 1 additions and 3 deletions

View File

@ -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 = [

View File

@ -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";
}; };
}; };
} }