-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
117 lines (115 loc) · 4.28 KB
/
docker-compose.yaml
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
version: "3.7"
# Security policy
# ConfigMap to set up Redis
# ConfigMap to set up Redis health check
# ConfigMap to set up OpenMatch
# A ConfigMap is an API object used to store non-confidential data in key-value pairs.
# Pods can consume ConfigMaps as environment variables, command-line arguments, or as configuration files in a volume.
# Service Account (ID) for Redis
# Service Account (ID) for Open-Match 'unpreivileged'
# A "Role" - access rights
# More Role stuff.
services:
open-match-redis:
image: bitnami/redis
environment:
REDIS_MASTER_PORT_NUMBER: "6379"
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_TLS_ENABLED: "no"
REDIS_PORT: "6379"
REDIS_DATA_DIR: /data
command: '/bin/bash -c /opt/bitnami/scripts/start-scripts/start-node.sh'
ports:
- 6379:6379
user: '1001'
volumes:
- /opt/bitnami/scripts/start-scripts
- ${PWD}/start-node.sh:/opt/bitnami/scripts/start-scripts/start-node.sh
- /health
- /tmp:/data
- /opt/bitnami/redis/mounted-etc
- ${PWD}/master.conf:/opt/bitnami/redis/mounted-etc/master.conf
- /opt/bitnami/redis/etc
- ${PWD}/redis.conf:/opt/bitnami/redis/etc/redis.conf
open-match-redis-sentinel:
image: bitnami/redis-sentinel
depends_on:
- open-match-redis
command: '/bin/bash -c /opt/bitnami/scripts/start-scripts/start-sentinel.sh'
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_SENTINEL_TLS_ENABLED: "no"
REDIS_SENTINEL_PORT: "26379"
ports:
- 26379:26379
user: '1001'
volumes:
- /opt/bitnami/scripts/start-scripts
- ${PWD}/start-sentinel.sh:/opt/bitnami/scripts/start-scripts/start-sentinel.sh
- /health
- /tmp:/data
- /opt/bitnami/redis-sentinel/mounted-etc
- ${PWD}/sentinel.conf:/opt/bitnami/redis-sentinel/mounted-etc/sentinel.conf
- ${PWD}/original_sentinel.conf:/opt/bitnami/redis-sentinel/mounted-etc/original_sentinel.conf
- /opt/bitnami/redis-sentinel/etc
#- ${PWD}/redis.conf:/opt/bitnami/redis-sentinel/etc/redis.conf
open-match-backend:
image: openmatch-backend:0.0.0-dev
ports:
- 50505:50505
- 51505:51505
volumes:
- /app/config/default
- ${PWD}/matchmaker_config_default.yaml:/app/config/default/matchmaker_config_default.yaml
- /app/config/override
- ${PWD}/matchmaker_config_override.yaml:/app/config/override/matchmaker_config_override.yaml
open-match-frontend:
image: openmatch-frontend:0.0.0-dev
ports:
- 50504:50504
- 51504:51504
volumes:
- /app/config/default
- ${PWD}/matchmaker_config_default.yaml:/app/config/default/matchmaker_config_default.yaml
- /app/config/override
- ${PWD}/matchmaker_config_override.yaml:/app/config/override/matchmaker_config_override.yaml
open-match-query:
image: openmatch-query:0.0.0-dev
ports:
- 50503:50503
- 51503:51505
volumes:
- /app/config/default
- ${PWD}/matchmaker_config_default.yaml:/app/config/default/matchmaker_config_default.yaml
- /app/config/override
- ${PWD}/matchmaker_config_override.yaml:/app/config/override/matchmaker_config_override.yaml
open-match-synchronizer:
image: openmatch-synchronizer:0.0.0-dev
ports:
- 50506:50506
- 51506:51506
volumes:
- /app/config/default
- ${PWD}/matchmaker_config_default.yaml:/app/config/default/matchmaker_config_default.yaml
- /app/config/override
- ${PWD}/matchmaker_config_override.yaml:/app/config/override/matchmaker_config_override.yaml
open-match-matchfunction:
image: openmatch-matchfunction:0.0.0-dev
ports:
- 50502:50502
- 51502:51502
volumes:
- /app/config/default
- ${PWD}/matchmaker_config_default.yaml:/app/config/default/matchmaker_config_default.yaml
- /app/config/override
- ${PWD}/matchmaker_config_override.yaml:/app/config/override/matchmaker_config_override.yaml
open-match-evaluator:
image: openmatch-default-evaluator:0.0.0-dev
ports:
- 50508:50508
- 51508:51508
volumes:
- /app/config/default
- ${PWD}/matchmaker_config_default.yaml:/app/config/default/matchmaker_config_default.yaml
- /app/config/override
- ${PWD}/matchmaker_config_override.yaml:/app/config/override/matchmaker_config_override.yaml