-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
47 lines (39 loc) · 1.08 KB
/
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
44
45
46
47
version: '3.1'
services:
motherbase:
image: 127.0.0.1:5000/motherbase
build: motherbase
ports:
- 1337:1337
environment:
DATABASE_URL: "mongodb://root:aJM3NQV9qSc7gZ3ijNpLTKci0O9TuTxRmvOpFAtkx3AZU6LAq4SWYiBIRPY8oTTj@pixel-db:27017"
client:
image: 127.0.0.1:5000/client
build: client
deploy:
mode: global
pixel-db:
image: mongo
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: aJM3NQV9qSc7gZ3ijNpLTKci0O9TuTxRmvOpFAtkx3AZU6LAq4SWYiBIRPY8oTTj
pixel-db-monitor:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_SERVER: pixel-db
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: aJM3NQV9qSc7gZ3ijNpLTKci0O9TuTxRmvOpFAtkx3AZU6LAq4SWYiBIRPY8oTTj
pixel-proxy:
image: 127.0.0.1:5000/pixel-proxy
build: pixel-proxy
ports:
- 80:80
- 443:443
depends_on:
- pixel-db-monitor