Set DB_HOST to 192.168.15.1, add DB port mapping, update flake.lock

This commit is contained in:
Joshua Bell 2026-02-02 10:27:57 -06:00
parent 47ea27262a
commit 8b564750ef
2 changed files with 8 additions and 4 deletions

View file

@ -27,7 +27,7 @@ in
environment = { environment = {
PUID = toString uid; PUID = toString uid;
PGID = toString gid; PGID = toString gid;
DB_HOST = "${name}-db"; DB_HOST = "192.168.15.1";
DB_PORT = toString dbPort; DB_PORT = toString dbPort;
DB_USER = "root"; DB_USER = "root";
DB_PASSWORD = "123qweasd"; DB_PASSWORD = "123qweasd";
@ -83,6 +83,10 @@ in
from = port; from = port;
to = port; to = port;
} }
{
from = dbPort;
to = dbPort;
}
]; ];
services.nginx = { services.nginx = {

6
hosts/lio/flake.lock generated
View file

@ -1303,11 +1303,11 @@
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1769964763, "lastModified": 1770048828,
"narHash": "sha256-ADWyyRulN7Bi+LN9pMO5JjcKqFnKWtCi4CCqMXlsHE4=", "narHash": "sha256-i7waiMaC0okqPiOdKVel8sP2xPv6fO0no2N+VF/LEFY=",
"owner": "anomalyco", "owner": "anomalyco",
"repo": "opencode", "repo": "opencode",
"rev": "2c82e6c6ae2cd7472de3598c2bf3bb2a4e9560d2", "rev": "1bd5dc5382cfa8b57dc470970bcdfa6a3dbd8dfb",
"type": "github" "type": "github"
}, },
"original": { "original": {