fix(arion): set correct ip for nextcloud
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
898f438b75
commit
98de668e52
4 changed files with 23 additions and 14 deletions
|
@ -57,7 +57,7 @@ in {
|
||||||
resauth.reverseProxy = "${dockerIP}:3100";
|
resauth.reverseProxy = "${dockerIP}:3100";
|
||||||
|
|
||||||
# Nextcloud & Co
|
# Nextcloud & Co
|
||||||
office.reverseProxy = "http://${dockerIP}:8055";
|
office.reverseProxy = "http://${servivi}:8055";
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
subDomainName = "cloud";
|
subDomainName = "cloud";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -66,7 +66,7 @@ in {
|
||||||
redir /.well-known/webfinger /index.php/.well-known/webfinger 301
|
redir /.well-known/webfinger /index.php/.well-known/webfinger 301
|
||||||
redir /.well-known/nodeinfo /index.php/.well-known/nodeinfo 301
|
redir /.well-known/nodeinfo /index.php/.well-known/nodeinfo 301
|
||||||
'';
|
'';
|
||||||
reverseProxy = "${dockerIP}:8042";
|
reverseProxy = "${servivi}:8042";
|
||||||
};
|
};
|
||||||
|
|
||||||
forgejo = {
|
forgejo = {
|
||||||
|
|
|
@ -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=
|
PUBLIC_LOGIN_PAGE_MESSAGE=
|
||||||
|
|
||||||
IMMICH_WEB_URL=http://immich-web:3000
|
IMMICH_WEB_URL=http://immich-web:3000
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{config, ...}: let
|
{config, ...}: let
|
||||||
|
inherit (config.sops) secrets;
|
||||||
inherit (config.arion) rwDataDir;
|
inherit (config.arion) rwDataDir;
|
||||||
|
|
||||||
rwPath = rwDataDir + "/immich";
|
rwPath = rwDataDir + "/immich";
|
||||||
|
@ -9,7 +10,10 @@ in {
|
||||||
"immich_server" = {
|
"immich_server" = {
|
||||||
image = ./images/server.nix;
|
image = ./images/server.nix;
|
||||||
command = ["start.sh" "immich"];
|
command = ["start.sh" "immich"];
|
||||||
env_file = ["${./.env}"];
|
env_file = [
|
||||||
|
"${./.env}"
|
||||||
|
secrets.immich.path
|
||||||
|
];
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"${UPLOAD_LOCATION}:/usr/src/app/upload:rw"
|
"${UPLOAD_LOCATION}:/usr/src/app/upload:rw"
|
||||||
|
@ -27,7 +31,10 @@ in {
|
||||||
"immich_microservices" = {
|
"immich_microservices" = {
|
||||||
image = ./images/server.nix;
|
image = ./images/server.nix;
|
||||||
command = ["start.sh" "microservices"];
|
command = ["start.sh" "microservices"];
|
||||||
env_file = ["${./.env}"];
|
env_file = [
|
||||||
|
"${./.env}"
|
||||||
|
secrets.immich.path
|
||||||
|
];
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"${UPLOAD_LOCATION}:/usr/src/app/upload:rw"
|
"${UPLOAD_LOCATION}:/usr/src/app/upload:rw"
|
||||||
|
@ -40,7 +47,10 @@ in {
|
||||||
"immich_machine_learning" = {
|
"immich_machine_learning" = {
|
||||||
image = ./images/machine-learning.nix;
|
image = ./images/machine-learning.nix;
|
||||||
restart = "always";
|
restart = "always";
|
||||||
env_file = ["${./.env}"];
|
env_file = [
|
||||||
|
"${./.env}"
|
||||||
|
secrets.immich.path
|
||||||
|
];
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"${rwPath}/cache:/cache"
|
"${rwPath}/cache:/cache"
|
||||||
|
@ -51,13 +61,19 @@ in {
|
||||||
image = ./images/redis.nix;
|
image = ./images/redis.nix;
|
||||||
restart = "always";
|
restart = "always";
|
||||||
tmpfs = ["/data"];
|
tmpfs = ["/data"];
|
||||||
env_file = ["${./.env}"];
|
env_file = [
|
||||||
|
"${./.env}"
|
||||||
|
secrets.immich.path
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
"immich_postgres" = {
|
"immich_postgres" = {
|
||||||
image = ./images/postgres.nix;
|
image = ./images/postgres.nix;
|
||||||
restart = "always";
|
restart = "always";
|
||||||
env_file = ["${./.env}"];
|
env_file = [
|
||||||
|
"${./.env}"
|
||||||
|
secrets.immich.path
|
||||||
|
];
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"${rwPath}/db:/var/lib/postgresql/data"
|
"${rwPath}/db:/var/lib/postgresql/data"
|
||||||
|
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
Loading…
Reference in a new issue