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 = {
|
||||
PUID = toString uid;
|
||||
PGID = toString gid;
|
||||
DB_HOST = "${name}-db";
|
||||
DB_HOST = "192.168.15.1";
|
||||
DB_PORT = toString dbPort;
|
||||
DB_USER = "root";
|
||||
DB_PASSWORD = "123qweasd";
|
||||
|
|
@ -83,6 +83,10 @@ in
|
|||
from = port;
|
||||
to = port;
|
||||
}
|
||||
{
|
||||
from = dbPort;
|
||||
to = dbPort;
|
||||
}
|
||||
];
|
||||
|
||||
services.nginx = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue