forked from w3f/1k-validators-be
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (41 loc) · 858 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
44
version: '3'
services:
1kv-core:
build:
context: .
args:
PACKAGE: core
dockerfile: ./Dockerfile
ports:
- "127.0.0.1:3300:3300"
networks:
testing_net:
ipv4_address: 172.28.1.1
mongo:
image: mongo
restart: always
ports:
- "127.0.0.1:27017:27017"
networks:
testing_net:
ipv4_address: 172.28.1.2
mongo-express:
image: mongo-express
environment:
- ME_CONFIG_MONGODB_SERVER=mongo
- ME_CONFIG_MONGODB_PORT=27017
- ME_CONFIG_MONGODB_ENABLE_ADMIN=true
- ME_CONFIG_MONGODB_AUTH_DATABASE=admin
depends_on:
- mongo
ports:
- "127.0.0.1:8888:8081"
networks:
testing_net:
ipv4_address: 172.28.1.3
networks:
testing_net:
ipam:
driver: default
config:
- subnet: 172.28.0.0/16