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 = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
virtualisation.oci-containers.backend = "podman";
systemd.tmpfiles.rules = [

View File

@ -13,7 +13,6 @@ in
nextcloud = {
autoStart = true;
image = "nextcloud:31-apache";
hostname = "nextcloud";
ports = [
"0.0.0.0:10003:80"
@ -35,7 +34,6 @@ in
nextcloud-db = {
image = "postgres:18"; # trixie
hostname = "nextcloud-db";
volumes = [
"${workDir}/db:/var/lib/postgresql"
@ -48,7 +46,6 @@ in
nextcloud-redis = {
image = "redis:8-alpine"; # trixie
hostname = "nextcloud-redis";
};
};
}