-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (51 loc) · 1.18 KB
/
docker-compose.yml
File metadata and controls
55 lines (51 loc) · 1.18 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
services:
mongo:
image: mongo:latest
volumes:
- mongo:/data/db
- mongo-conf:/data/configdb
redis:
image: redis:latest
ports:
- "6379:6379"
nodify-core:
build:
dockerfile: Dockerfile-core
depends_on:
- mongo
environment:
MONGO_URL: "${MONGO_URL:-mongodb://mongo:27017/nodify}"
ADMIN_PWD: "${ADMIN_PWD:-Admin123}"
CORE_URL: "${CORE_URL:-http://localhost:8080}"
API_URL: "${API_URL:-http://localhost:9080}"
STUDIO_URL: "${STUDIO_URL:-http://localhost:80}"
TZ: "${TZ:-Europe/Paris}"
expose:
- "8080"
nodify-api:
build:
dockerfile: Dockerfile-api
depends_on:
- mongo
environment:
MONGO_URL: "${MONGO_URL:-mongodb://mongo:27017/nodify}"
TZ: "${TZ:-Europe/Paris}"
REDIS_URL: "${REDIS_URL:-redis://redis:6379}"
expose:
- "1080"
ports:
- 9080:1080
nodify-ui:
build:
dockerfile: Dockerfile-ui
depends_on:
- nodify-core
- nodify-api
ports:
- 80:80
environment:
CORE_URL: "${CORE_URL:-http://nodify-core:8080}"
API_URL: "${API_URL:-http://localhost:1080}"
volumes:
mongo:
mongo-conf: