-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (55 loc) · 1.36 KB
/
docker-compose.yml
File metadata and controls
55 lines (55 loc) · 1.36 KB
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
services:
mongodb:
image: mongo
container_name: mongodb
ports:
- "27017:27017"
volumes:
- ./running/database:/data/db
environment:
- MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=admin
networks:
- backend
gameframex:
image: gameframex/server.launcher:1.0.0
container_name: gameframex
ports:
# APM 端口
- "29090:29090"
# TCP 端口
- "29100:29100"
# WebSocket 端口
- "29110:29110"
# HTTP 端口
- "28080:28080"
environment:
- ServerType=Game
- ServerId=1000
- APMPort=29090
- InnerPort=29100
- OuterPort=29100
- MinModuleId=10
- MaxModuleId=9999
- WsPort=29110
- HttpPort=28080
- DiscoveryCenterIp=127.0.0.1
- DiscoveryCenterPort=10001
- HttpCode=inner_httpcode
- DataBaseUrl=mongodb://admin:admin@mongodb:27017/?authSource=admin
- DataBaseName=gameframex
networks:
- frontend
- backend
volumes:
- "./running/hotfix:/app/hotfix"
- "./running/json:/app/json"
- "./running/logs:/app/logs"
- "./running/GameAnalytics:/GameAnalytics"
networks:
frontend:
name: gameframex-frontend
driver: bridge
backend:
name: gameframex-backend
driver: bridge