sops (server part)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ lib, config, proxyReverse, ... }:
|
||||
let
|
||||
port = 8881;
|
||||
port = 8765;
|
||||
url = "tracker.${config.my.domain}";
|
||||
in {
|
||||
options.my.servers.ryot.enable = lib.mkEnableOption "enable";
|
||||
@@ -10,10 +10,11 @@ in {
|
||||
virtualisation.oci-containers = {
|
||||
backend = "docker";
|
||||
containers.ryot = {
|
||||
image = "ghcr.io/ignisda/ryot:v5.5.0";
|
||||
ports = [ "8765:8000" ];
|
||||
image = "ghcr.io/ignisda/ryot:v5.5.6";
|
||||
ports = [ "${toString port}:8000" ];
|
||||
environmentFiles = [ config.sops.secrets.ryot.path ];
|
||||
environment = {
|
||||
RUST_LOG = "ryot=debug,sea_orm=debug";
|
||||
TZ = "America/Mexico_City";
|
||||
DATABASE_URL = "postgres:///ryot?host=${config.my.postgresSocket}";
|
||||
FRONTEND_INSECURE_COOKIES = "true";
|
||||
|
||||
Reference in New Issue
Block a user