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.prod.yml
133 lines (133 loc) · 2.92 KB
/
docker-compose.prod.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
version: '3.7'
services:
db:
container_name: cryptic_mysql
image: mysql:5.7
restart: always
environment:
MYSQL_USER: cryptic
MYSQL_PASSWORD: cryptic
MYSQL_DATABASE: cryptic
MYSQL_RANDOM_ROOT_PASSWORD: 1
networks:
- backend
server:
container_name: cryptic_server
image: crypticcp/cryptic-game-server
restart: always
depends_on:
- db
environment:
MSSOCKET_HOST: '0.0.0.0'
MSSOCKET_PORT: 1239
WEBSOCKET_HOST: '0.0.0.0'
WEBSOCKET_PORT: 80
HTTP_PORT: 8080
AUTH_ENABLED: 'true'
MYSQL_HOSTNAME: 'db'
MYSQL_USERNAME: 'cryptic'
MYSQL_PASSWORD: 'cryptic'
MYSQL_PORT: 3306
MYSQL_DATABASE: 'cryptic'
PRODUCTIVE: 'true'
ports:
- "8080:8080"
- "80:80"
networks:
- frontend
- backend
ms_device:
container_name: cryptic_device
image: crypticcp/cryptic-device
restart: always
depends_on:
- server
environment:
SERVER_HOST: 'server'
SERVER_PORT: 1239
MYSQL_HOSTNAME: 'db'
MYSQL_USERNAME: 'cryptic'
MYSQL_PASSWORD: 'cryptic'
MYSQL_PORT: 3306
MYSQL_DATABASE: 'cryptic'
DSN:
RELEASE:
PATH_LOGFILE:
networks:
- backend
ms_currency:
container_name: cryptic_currency
image: crypticcp/cryptic-currency
restart: always
depends_on:
- server
environment:
SERVER_HOST: 'server'
SERVER_PORT: 1239
MYSQL_HOSTNAME: 'db'
MYSQL_USERNAME: 'cryptic'
MYSQL_PASSWORD: 'cryptic'
MYSQL_PORT: 3306
MYSQL_DATABASE: 'cryptic'
DSN:
RELEASE:
PATH_LOGFILE:
networks:
- backend
ms_service:
container_name: cryptic_service
image: crypticcp/cryptic-service
restart: always
depends_on:
- server
environment:
SERVER_HOST: 'server'
SERVER_PORT: 1239
MYSQL_HOSTNAME: 'db'
MYSQL_USERNAME: 'cryptic'
MYSQL_PASSWORD: 'cryptic'
MYSQL_PORT: 3306
MYSQL_DATABASE: 'cryptic'
DSN:
RELEASE:
PATH_LOGFILE:
networks:
- backend
ms_inventory:
container_name: cryptic_inventory
image: crypticcp/cryptic-inventory
restart: always
depends_on:
- server
environment:
SERVER_HOST: 'server'
SERVER_PORT: 1239
MYSQL_HOSTNAME: 'db'
MYSQL_USERNAME: 'cryptic'
MYSQL_PASSWORD: 'cryptic'
MYSQL_PORT: 3306
MYSQL_DATABASE: 'cryptic'
DSN:
RELEASE:
PATH_LOGFILE:
networks:
- backend
ms_network:
container_name: cryptic_network
image: crypticcp/cryptic-network
restart: always
depends_on:
- server
environment:
MSSOCKET_HOST: 'server'
MSSOCKET_PORT: 1239
MYSQL_HOSTNAME: 'db'
MYSQL_USERNAME: 'cryptic'
MYSQL_PASSWORD: 'cryptic'
MYSQL_PORT: 3306
MYSQL_DATABASE: 'cryptic'
networks:
- backend
networks:
frontend:
backend: