forked from ganochenkodg/svelte-crud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (48 loc) · 893 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: "3"
services:
backend:
build: backend/
ports:
- "3000:3000"
depends_on:
- postgres
- elasticsearch
- mongo
- redis
links:
- postgres
- elasticsearch
- mongo
- redis
frontend:
build: frontend/
ports:
- "8080:80"
links:
- backend
mongo:
hostname: mongo
image: mongo
ports:
- "27017:27017"
redis:
hostname: redis
image: redis:6.0.6-alpine
ports:
- "6379:6379"
elasticsearch:
hostname: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.8.1
ports:
- "9200:9200"
- "9300:9300"
environment:
- discovery.type=single-node
postgres:
image: postgres:10-alpine
ports:
- "5432:5432"
environment:
- POSTGRES_USER=node
- POSTGRES_PASSWORD=password
- POSTGRES_DB=books