-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (37 loc) · 931 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
version: '3'
services:
lz_worker:
build: "./lz_worker/"
image: "lz_worker:latest"
depends_on:
- lz_api
environment:
- API_SERVER=lz_api
- API_PORT=5000
lz_api:
build: "./lz_api/"
image: "lz_api:latest"
ports:
- "5000:5000"
depends_on:
- lz_api_mongodb
environment:
- MONGODB_SERVER=lz_api_mongodb
lz_api_mongodb:
image: "mongo:latest"
ports:
- "27017:27017"
# for debugging / development
mongo-express:
image: "mongo-express"
ports:
- "8081:8081"
environment:
- ME_CONFIG_MONGODB_SERVER=lz_api_mongodb
depends_on:
- lz_api_mongodb
# lz_frontend:
# build: "./lz_frontend/"
# image: "lz_frontend:latest"
# ports:
# - "8080:80"