Fix docker-compose migrate service env

This commit is contained in:
Hongbo Wu
2022-05-25 16:04:02 +08:00
parent d704fad2ff
commit 9137fb4588

View File

@ -28,12 +28,14 @@ services:
- PG_USER=postgres
- PG_PASSWORD=postgres
- PG_DB=omnivore
- ES_URL=http://elastic:9200
- ES_USERNAME=blank
- ES_PASSWORD=blank
- ELASTIC_URL=http://elastic:9200
- ELASTIC_USERNAME=blank
- ELASTIC_PASSWORD=blank
depends_on:
postgres:
condition: service_healthy
elastic:
condition: service_healthy
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.1