Skip to content

Commit 0430088

Browse files
committed
Fix reindex and elasticsearch docker-compose config
1 parent 67d8006 commit 0430088

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docker-compose.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,17 @@ services:
2222
command: redis-server /etc/redis.conf
2323

2424
elasticsearch:
25-
container_name: "homeland_elasticsearch"
26-
image: elasticsearch:7.6.3
25+
container_name: 'homeland_elasticsearch'
26+
image: elasticsearch:7.6.2
2727
environment:
28+
- discovery.type=single-node
2829
- bootstrap.memory_lock=true
2930
- "ES_JAVA_OPTS=-Xms256m -Xmx512m"
3031
volumes:
3132
- ./data/elasticsearch:/usr/share/elasticsearch/data
3233
ports:
33-
- "9200"
34-
- "9300"
34+
- '9200:9200'
35+
- '9300:9300'
3536

3637
app: &app_base
3738
container_name: "homeland_app"

0 commit comments

Comments
 (0)