fix(arion): set correct ip for nextcloud
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-02-23 00:43:16 -05:00
parent 898f438b75
commit 98de668e52
4 changed files with 23 additions and 14 deletions

View file

@ -57,7 +57,7 @@ in {
resauth.reverseProxy = "${dockerIP}:3100";
# Nextcloud & Co
office.reverseProxy = "http://${dockerIP}:8055";
office.reverseProxy = "http://${servivi}:8055";
nextcloud = {
subDomainName = "cloud";
extraConfig = ''
@ -66,7 +66,7 @@ in {
redir /.well-known/webfinger /index.php/.well-known/webfinger 301
redir /.well-known/nodeinfo /index.php/.well-known/nodeinfo 301
'';
reverseProxy = "${dockerIP}:8042";
reverseProxy = "${servivi}:8042";
};
forgejo = {

View file

@ -1,10 +1,3 @@
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
PUBLIC_LOGIN_PAGE_MESSAGE=
IMMICH_WEB_URL=http://immich-web:3000

View file

@ -1,4 +1,5 @@
{config, ...}: let
inherit (config.sops) secrets;
inherit (config.arion) rwDataDir;
rwPath = rwDataDir + "/immich";
@ -9,7 +10,10 @@ in {
"immich_server" = {
image = ./images/server.nix;
command = ["start.sh" "immich"];
env_file = ["${./.env}"];
env_file = [
"${./.env}"
secrets.immich.path
];
volumes = [
"${UPLOAD_LOCATION}:/usr/src/app/upload:rw"
@ -27,7 +31,10 @@ in {
"immich_microservices" = {
image = ./images/server.nix;
command = ["start.sh" "microservices"];
env_file = ["${./.env}"];
env_file = [
"${./.env}"
secrets.immich.path
];
volumes = [
"${UPLOAD_LOCATION}:/usr/src/app/upload:rw"
@ -40,7 +47,10 @@ in {
"immich_machine_learning" = {
image = ./images/machine-learning.nix;
restart = "always";
env_file = ["${./.env}"];
env_file = [
"${./.env}"
secrets.immich.path
];
volumes = [
"${rwPath}/cache:/cache"
@ -51,13 +61,19 @@ in {
image = ./images/redis.nix;
restart = "always";
tmpfs = ["/data"];
env_file = ["${./.env}"];
env_file = [
"${./.env}"
secrets.immich.path
];
};
"immich_postgres" = {
image = ./images/postgres.nix;
restart = "always";
env_file = ["${./.env}"];
env_file = [
"${./.env}"
secrets.immich.path
];
volumes = [
"${rwPath}/db:/var/lib/postgresql/data"

Binary file not shown.