diff --git a/immich/env.example b/immich/env.example index 77721ea..57995eb 100644 --- a/immich/env.example +++ b/immich/env.example @@ -11,6 +11,7 @@ UPLOAD_LOCATION=/opt/immich/library # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release +DB_HOSTNAME=rick_psql DB_USERNAME=psql DB_PASSWORD=postgres DB_DATABASE_NAME=immich diff --git a/psql/compose.yml b/psql/compose.yml index 01bc00e..4f9319f 100644 --- a/psql/compose.yml +++ b/psql/compose.yml @@ -1,6 +1,6 @@ services: rick_psql: - image: postgres:12.3 + image: postgres:16 restart: always env_file: - .env diff --git a/tandoor/compose.yml b/tandoor/compose.yml index 24e85e3..f2a01f8 100644 --- a/tandoor/compose.yml +++ b/tandoor/compose.yml @@ -10,6 +10,8 @@ services: networks: - rick_db - tandoor + ports: + - 30025:8080 networks: rick_db: diff --git a/tandoor/env.example b/tandoor/env.example index 921b817..b2b2b31 100644 --- a/tandoor/env.example +++ b/tandoor/env.example @@ -2,7 +2,7 @@ SECRET_KEY= ALLOWED_HOSTS= DB_ENGINE=django.db.backends.postgresql -POSTGRES_HOST=rick_db +POSTGRES_HOST=rick_psql POSTGRES_DB=tandoor POSTGRES_PORT=5432 POSTGRES_USER=psql