affine config fixes
This commit is contained in:
parent
bb5b82c063
commit
ad7913deed
2 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ in {
|
|||
image = "ghcr.io/toeverything/affine:stable";
|
||||
environment = with affine-config.env; {
|
||||
"AFFINE_INDEXER_ENABLED" = "false";
|
||||
"AFFINE_REVISION" = config.affine.revision;
|
||||
"AFFINE_REVISION" = config.services.affine.revision;
|
||||
"CONFIG_LOCATION" = "${affine-static}/config";
|
||||
"DATABASE_URL" = "postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE}";
|
||||
"DB_DATABASE" = DB_DATABASE;
|
||||
|
|
@ -24,7 +24,7 @@ in {
|
|||
"${affine-static}/config:/root/.affine/config:rw"
|
||||
"${affine-static}/storage:/root/.affine/storage:rw"
|
||||
];
|
||||
ports = [ "${ toString config.affine.env.PORT}:3010/tcp" ];
|
||||
ports = [ "${ toString config.services.affine.env.PORT}:3010/tcp" ];
|
||||
dependsOn = [ "affine_migration_job" "affine_postgres" "affine_redis" ];
|
||||
log-driver = "journald";
|
||||
extraOptions = [
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ in {
|
|||
image = "ghcr.io/toeverything/affine:stable";
|
||||
environment = with affine-config.env; {
|
||||
"AFFINE_INDEXER_ENABLED" = "false";
|
||||
"AFFINE_REVISION" = config.affine.revision;
|
||||
"AFFINE_REVISION" = config.services.revision;
|
||||
"CONFIG_LOCATION" = "${affine-static}/config";
|
||||
"DATABASE_URL" = "postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE}";
|
||||
"DB_DATABASE" = DB_DATABASE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue