-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 846 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 846 Bytes
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
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: openmu
POSTGRES_PASSWORD: openmu
POSTGRES_DB: openmu
ports:
- "5433:5432"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U openmu"]
interval: 5s
timeout: 5s
retries: 10
openmu:
image: munique/openmu
depends_on:
postgres:
condition: service_healthy
environment:
DB_HOST: postgres
DB_ADMIN_USER: openmu
DB_ADMIN_PW: openmu
ports:
# Admin panel
- "8090:80"
# Connect Server
- "44405:44405"
# Game Servers (Server 1: 55901-55903, Server 2: 55904-55906)
- "55901-55906:55901-55906"
# Chat Server
- "55980:55980"
command: ["-autostart"]
volumes:
pgdata: