forked from co3moz/knightonline-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (48 loc) · 1009 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
45
46
47
48
version: '3'
services:
ko-js:
build: .
hostname: "kojs_sandbox"
ports:
- "15100-15109:15100-15109"
- "15001:15001"
networks:
outaccess:
application:
ipv4_address: 10.0.0.50
restart: always
mongodb:
image: mongo:latest
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
volumes:
- /container/ko-js/mongo:/data/db
networks:
application:
ipv4_address: 10.0.0.51
command: mongod --smallfiles --logpath=/dev/null # --quiet
redis:
image: "redis:alpine"
networks:
application:
ipv4_address: 10.0.0.52
adminmongo:
image: mrvautin/adminmongo
environment:
HOST: '0.0.0.0'
CONN_NAME: '10.0.0.51'
DB_HOST: 'knight-online'
ports:
- '1234:1234'
networks:
outaccess:
application:
ipv4_address: 10.0.0.53
networks:
outaccess:
external:
name: outaccess
application:
external:
name: application