Searching.ton
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.3 KiB

2 years ago
version: "3.7"
services:
db:
image: postgres:latest
volumes:
- dbdata:/var/lib/postgresql/data
2 years ago
env_file: ./searching-front/.env.local #Here we are using the already existing .env.local file
# ports:
# - "5432:5432"
2 years ago
elasticsearch:
image: elasticsearch:8.4.0
volumes:
- elastic:/usr/share/elasticsearch/data
2 years ago
environment:
- xpack.security.enabled=false
- "discovery.type=single-node"
2 years ago
# ports:
# - 9200:9200
2 years ago
influxdb:
image: influxdb:2.4-alpine
2 years ago
ports:
- '8086:8086'
2 years ago
volumes:
- influxdb-storage:/var/lib/influxdb
2 years ago
env_file: ./searching-front/.env.local
2 years ago
front:
container_name: front
build: ./searching-front
restart: always
ports:
- '3000:3000'
depends_on:
- elasticsearch
- db
- influxdb
1 year ago
env_file: ./searching-front/.env.local
2 years ago
watcher:
ports:
- '5555:5555'
2 years ago
container_name: watcher
depends_on:
- elasticsearch
1 year ago
build:
2 years ago
context: ./searching-front
dockerfile: Dockerfile.watcher
restart: always
1 year ago
env_file: ./searching-front/.env.local
2 years ago
nginx:
restart: always
depends_on:
- front
2 years ago
build:
context: ./nginx
2 years ago
ports:
2 years ago
- "80:80"
2 years ago
networks:
es-net:
driver: bridge
volumes:
dbdata:
influxdb-storage:
elastic: