Browse Source

add elastic env

main
matthew 2 years ago
parent
commit
b73c917b4e
  1. 4
      docker-compose.yml

4
docker-compose.yml

@ -13,7 +13,6 @@ services:
environment: environment:
- xpack.security.enabled=false - xpack.security.enabled=false
- "discovery.type=single-node" - "discovery.type=single-node"
ports: ports:
- 9200:9200 - 9200:9200
# proxy: # proxy:
@ -27,6 +26,7 @@ services:
restart: always restart: always
ports: ports:
- 80:3000 - 80:3000
- 8080:8080
watcher: watcher:
container_name: watcher container_name: watcher
depends_on: depends_on:
@ -35,6 +35,8 @@ services:
context: ./searching-front context: ./searching-front
dockerfile: Dockerfile.watcher dockerfile: Dockerfile.watcher
restart: always restart: always
ports:
- 8080:8080
networks: networks:
es-net: es-net:

Loading…
Cancel
Save