-
Notifications
You must be signed in to change notification settings - Fork 248
Expand file tree
/
Copy pathdocker-compose.lightweight.yml
More file actions
51 lines (47 loc) · 1.07 KB
/
Copy pathdocker-compose.lightweight.yml
File metadata and controls
51 lines (47 loc) · 1.07 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
name: zeppelin-lightweight
services:
migrate:
build: &build
context: .
environment: &env
- NODE_ENV=production
- DB_HOST=${LIGHTWEIGHT_DB_HOST}
- DB_PORT=${LIGHTWEIGHT_DB_PORT}
- DB_USER=${LIGHTWEIGHT_DB_USER}
- DB_PASSWORD=${LIGHTWEIGHT_DB_PASSWORD}
- DB_DATABASE=${LIGHTWEIGHT_DB_DATABASE}
- API_PATH_PREFIX=${LIGHTWEIGHT_API_PATH_PREFIX}
env_file:
- .env
command: ["migrate"]
api:
depends_on:
migrate:
condition: service_completed_successfully
build: *build
restart: on-failure
environment: *env
env_file:
- .env
ports:
- "${LIGHTWEIGHT_API_PORT}:3001"
command: ["api"]
bot:
depends_on:
migrate:
condition: service_completed_successfully
build: *build
restart: on-failure
environment: *env
env_file:
- .env
command: ["bot"]
dashboard:
build: *build
restart: on-failure
environment: *env
env_file:
- .env
ports:
- "${LIGHTWEIGHT_DASHBOARD_PORT}:3002"
command: ["dashboard"]