Add aliases
This commit is contained in:
parent
14a3ec94fb
commit
ee00a3a463
@ -32,6 +32,10 @@ services:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- database_data:/var/lib/postgresql/data/
|
||||
networks:
|
||||
database:
|
||||
aliases:
|
||||
- database
|
||||
es01:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.2
|
||||
container_name: es01
|
||||
@ -51,7 +55,9 @@ services:
|
||||
ports:
|
||||
- "9200:9200"
|
||||
networks:
|
||||
- elastic
|
||||
elastic:
|
||||
aliases:
|
||||
- searchengine
|
||||
es02:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.2
|
||||
container_name: es02
|
||||
|
Loading…
Reference in New Issue
Block a user