postgres optimization

This commit is contained in:
2023-12-30 02:18:53 -06:00
parent bc97b48c04
commit 7635bb3393
2 changed files with 8 additions and 1 deletions

View File

@@ -42,13 +42,13 @@
};
ryot = {
image = "ghcr.io/ignisda/ryot:latest";
ports = [ "8765:8000" ];
environment = {
TZ = "America/Mexico_City";
DATABASE_URL = "postgres:///ryot?host=${postgresSocket}";
VIDEO_GAMES_TWITCH_CLIENT_ID = "tfu0hw0zbdbu4lco4h72nqkb8krxp9";
VIDEO_GAMES_TWITCH_CLIENT_SECRET = "582ecfb01ihv6wnt8zbc9pf3hs9p54";
};
ports = [ "8765:8000" ];
volumes = [ "${postgresSocket}:${postgresSocket}" ];
labels = {
"flame.type" = "application";