This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.debug.yml
103 lines (98 loc) · 2.14 KB
/
docker-compose.debug.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: '3.7'
x-db: &db
MYSQL_HOSTNAME: 'db'
MYSQL_PORT: 3306
MYSQL_USERNAME: &db_user 'cryptic'
MYSQL_PASSWORD: &db_pass 'cryptic'
MYSQL_DATABASE: &db_name 'cryptic'
SQL_SERVER_LOCATION: '//db:3306'
SQL_SERVER_USERNAME: *db_user
SQL_SERVER_PASSWORD: *db_pass
SQL_SERVER_DATABASE: *db_name
x-ms-env: &ms-env
<< : *db
SERVER_HOST: &server_host 'server'
SERVER_PORT: &server_port 1239
MSSOCKET_HOST: *server_host # for java microservices
MSSOCKET_PORT: *server_port
x-microservice: µservice
restart: always
depends_on:
- server
environment:
<< : *ms-env
networks:
- cryptic
- db
services:
db:
image: mariadb
restart: always
environment:
MYSQL_USER: *db_user
MYSQL_PASSWORD: *db_pass
MYSQL_DATABASE: *db_name
MYSQL_RANDOM_ROOT_PASSWORD: 1
MYSQL_INITDB_SKIP_TZINFO: 1
ports:
- '3306:3306'
networks:
- db
server:
container_name: cryptic-server
image: crypticcp/cryptic-game-server:latest
restart: always
depends_on:
- db
environment:
<< : *db
MSSOCKET_HOST: '0.0.0.0'
MSSOCKET_PORT: *server_port
WEBSOCKET_HOST: '0.0.0.0'
WEBSOCKET_PORT: 80
HTTP_PORT: 8080
AUTH_ENABLED: 'true'
PRODUCTIVE: 'false'
LOG_LEVEL: 'INFO'
SENTRY_DSN: ''
networks:
- cryptic
- db
ports:
- '8080:8080'
- '80:80'
- '1239:1239'
ms_device:
image: crypticcp/cryptic-device:experimental
<< : *microservice
environment:
<< : *ms-env
DSN: ''
ms_currency:
image: crypticcp/cryptic-currency:experimental
<< : *microservice
environment:
<< : *ms-env
DSN: ''
ms_service:
image: crypticcp/cryptic-service:experimental
<< : *microservice
environment:
<< : *ms-env
DSN: ''
ms_inventory:
image: crypticcp/cryptic-inventory:experimental
<< : *microservice
environment:
<< : *ms-env
DSN: ''
ms_network:
image: crypticcp/cryptic-network:latest
<< : *microservice
environment:
<< : *ms-env
LOG_LEVEL: 'INFO'
SENTRY_DSN: ''
networks:
cryptic:
db: