-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
62 lines (52 loc) · 1.16 KB
/
docker-compose.yaml
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
version: '3'
networks:
tfjs-net:
driver: bridge
services:
rabbitmq:
image: rabbitmq:management-alpine
container_name: rabbitmq
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
# ports:
# - '5672:5672'
# - '15672:15672'
mongodb:
image: mongo
restart: unless-stopped
# ports:
# - 27017:27017
environment:
- MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=password
volumes:
- db-data:/data/db
mongo-express:
image: mongo-express
depends_on:
- mongodb
restart: unless-stopped
ports:
- 8080:8081
environment:
- ME_CONFIG_MONGODB_ENABLE_ADMIN=true
- ME_CONFIG_MONGODB_ADMINUSERNAME=admin
- ME_CONFIG_MONGODB_ADMINPASSWORD=password
- ME_CONFIG_MONGODB_SERVER=mongodb
- ME_CONFIG_MONGODB_URL=mongodb://admin:password@mongodb:27017/
tfjs-api:
image: tfjs-api:latest
restart: unless-stopped
depends_on:
- rabbitmq
- mongodb
ports:
- '5000:5000'
frontend:
image: tfjs-frontend:latest
ports:
- '5001:80'
volumes:
db-data:
driver: local