This repository was archived by the owner on Dec 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
70 lines (70 loc) · 1.41 KB
/
docker-compose.yml
File metadata and controls
70 lines (70 loc) · 1.41 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: "3"
services:
backend:
build: backend/
ports:
- "3000:3000"
depends_on:
# - postgres
# - elasticsearch
- mongo
# - redis
# - zero
# - alpha
links:
# - postgres
# - elasticsearch
- mongo
# - redis
# - zero
# - alpha
frontend:
build: frontend/
ports:
- "8080:80"
links:
- backend
# zero:
# image: dgraph/dgraph:latest
# volumes:
# - /tmp/data:/dgraph
# ports:
# - 5080:5080
# - 6080:6080
# restart: on-failure
# command: dgraph zero --my=zero:5080
# alpha:
# image: dgraph/dgraph:latest
# volumes:
# - /tmp/data:/dgraph
# ports:
# - 8080:8080
# - 9080:9080
# restart: on-failure
# command: dgraph alpha --my=alpha:7080 --zero=zero:5080
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