Docker: Add db container as dependencies in compose file

This commit is contained in:
eikek
2022-05-22 17:43:47 +02:00
parent be3a8b33de
commit 004daf96a2

View File

@ -43,6 +43,7 @@ services:
- DOCSPELL_SERVER_BACKEND_ADDONS_ENABLED=false - DOCSPELL_SERVER_BACKEND_ADDONS_ENABLED=false
depends_on: depends_on:
- solr - solr
- db
joex: joex:
image: docspell/joex:latest image: docspell/joex:latest
@ -69,6 +70,7 @@ services:
- "7878:7878" - "7878:7878"
depends_on: depends_on:
- solr - solr
- db
## Uncomment when using the "docker" runner with addons ## Uncomment when using the "docker" runner with addons
# volumes: # volumes:
# - /var/run/docker.sock:/var/run/docker.sock # - /var/run/docker.sock:/var/run/docker.sock
@ -132,7 +134,6 @@ services:
retries: 2 retries: 2
start_period: 30s start_period: 30s
volumes: volumes:
docspell-postgres_data: docspell-postgres_data:
docspell-solr_data: docspell-solr_data: