remove es dependency for seafile pro docker (#483)

This commit is contained in:
Huang Junxiang 2025-03-20 17:17:37 +08:00 committed by GitHub
parent a474bba899
commit 46b8811f82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 15 deletions

View File

@ -85,8 +85,6 @@ services:
condition: service_healthy
redis:
condition: service_started
elasticsearch:
condition: service_started
networks:
- seafile-net

View File

@ -42,19 +42,7 @@ INIT_SS_ADMIN_PASSWORD=<admin-password>
## Modify `seafile-server.yml` to disable `elasticSearch` service
If you would like to use *SeaSearch* as the search engine, the `elasticSearch` service can be removed, which is no longer used:
- `seafile-server.yml`:
```yml
services:
seafile:
...
depends_on:
...
#elasticsearch: # remove or note the `elasticsearch` service Dependency
#condition: service_started
```
- `.env`: Remove `elasticsearch.yml` in the list variable `COMPOSE_FILE`
If you would like to use *SeaSearch* as the search engine, the `elasticSearch` service can be removed, which is no longer used: remove `elasticsearch.yml` in the list variable `COMPOSE_FILE` on the file `.env`.
## Modify `seafevents.conf`