mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-10-26 11:37:06 +00:00
fix(server): add AFFINE_INDEXER_SEARCH_ENDPOINT to self-host compose.yml (#12324)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Added a `.gitignore` file to prevent the `.env` file in the self-hosted Docker directory from being tracked by Git. - **New Features** - Introduced a new environment variable for the search endpoint in the Docker Compose configuration for improved service connectivity. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
5eca722edf
commit
f0c9453459
1
.docker/selfhost/.gitignore
vendored
Normal file
1
.docker/selfhost/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.env
|
||||
@ -23,6 +23,7 @@ services:
|
||||
environment:
|
||||
- REDIS_SERVER_HOST=redis
|
||||
- DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE:-affine}
|
||||
- AFFINE_INDEXER_SEARCH_ENDPOINT=http://indexer:9308
|
||||
restart: unless-stopped
|
||||
|
||||
affine_migration:
|
||||
@ -38,6 +39,7 @@ services:
|
||||
environment:
|
||||
- REDIS_SERVER_HOST=redis
|
||||
- DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE:-affine}
|
||||
- AFFINE_INDEXER_SEARCH_ENDPOINT=http://indexer:9308
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
Loading…
Reference in New Issue
Block a user