Set DB_HOST to 192.168.15.1, add DB port mapping, update flake.lock
This commit is contained in:
parent
47ea27262a
commit
8b564750ef
2 changed files with 8 additions and 4 deletions
|
|
@ -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
6
hosts/lio/flake.lock
generated
|
|
@ -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": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue