Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
90 lines (80 loc) · 2.34 KB
/
Copy pathdocker-compose.yml
File metadata and controls
90 lines (80 loc) · 2.34 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
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
name: mapmaker
version: '3.8'
services:
postgres:
image: postgres:18
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql
minio:
image: pgsty/silo:latest
restart: unless-stopped
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: mapmaker
MINIO_ROOT_PASSWORD: mapmaker
ports:
- "9000:9000" # S3 API
- "9001:9001" # MinIO Console UI
volumes:
- minio-data:/data
redis:
image: redis:7.4
restart: unless-stopped
command: redis-server --appendonly yes
ports:
- "6379:6379"
volumes:
- redis-data:/data
nats:
image: nats:2.12.4
restart: unless-stopped
command: "--jetstream --store_dir /data"
ports:
- "4222:4222"
volumes:
- nats-data:/data
api-server:
build:
context: ../api-server
dockerfile: deploy/Dockerfile
restart: unless-stopped
depends_on: [ postgres, nats, redis ]
environment:
SESSION_ENV: "tilt"
SESSION_HTTP_ADDRESS: "0.0.0.0"
SESSION_HTTP_PORT: "9124"
SESSION_REDIS_ADDRESS: "redis:6379"
SESSION_POSTGRES_PLAYERS_URI: "postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable"
SESSION_POSTGRES_MAPS_URI: "postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable"
SESSION_POSTGRES_URI: "postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable"
SESSION_NATS_SERVERS: "nats://nats:4222"
SESSION_S3_ENDPOINT: "http://minio:9000"
SESSION_S3_ACCESS_KEY: "mapmaker"
SESSION_S3_SECRET_KEY: "mapmaker"
SESSION_TEBEX_SECRET: "explicit_ignore"
SESSION_KEYRING_KEYS: "1:ZrQMC+nxDqEVo0FbHoeuGevh/4lfsZl94dHtcoaW5Y4"
SESSION_AUTH_EXTERNAL_URL: "http://localhost:10000"
SESSION_KUBERNETES_NAMESPACE: "disabled"
ports:
- "9127:9124"
envoy:
image: envoyproxy/envoy:v1.31-latest
restart: unless-stopped
depends_on: [ api-server ]
command: [ "-c", "/etc/envoy/envoy.yaml", "--service-cluster", "mapmaker-edge" ]
volumes:
- ./deploy/envoy-local.yaml:/etc/envoy/envoy.yaml:ro
ports:
- "10000:10000"
volumes:
postgres-data:
minio-data:
redis-data:
nats-data: