-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
124 lines (115 loc) · 2.69 KB
/
docker-compose.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
version: "2"
services:
minetest:
image: buckaroobanzay/minetest:5.10.0-r1
restart: always
networks:
- terminator
- default
ports:
- "30000:30000/udp"
depends_on:
- "postgres"
volumes:
- "./data/minetest:/data"
- "./minetest_game:/data/world/game"
- "./data/crashlogs:/crashlogs"
- "./data/minetest/debug.txt:/root/.minetest/debug.txt"
- "postgres_socket:/var/run/postgresql"
logging:
options:
max-size: 50m
postgres:
image: postgres:14.1-alpine
restart: always
shm_size: '2gb'
environment:
POSTGRES_PASSWORD: enter
volumes:
- "./data/postgres:/var/lib/postgresql/data"
- "postgres_socket:/var/run/postgresql"
command:
- "postgres"
- "-c"
- "shared_buffers=4GB"
- "-c"
- "synchronous_commit=off"
logging:
options:
max-size: 50m
ui:
image: ghcr.io/minetest-go/mtui:v1.76
restart: always
environment:
WORLD_DIR: "/data/world"
COOKIE_DOMAIN: "bananaland.minetest.ch"
COOKIE_SECURE: "true"
COOKIE_PATH: "/ui"
SERVER_NAME: "Bananaland"
WASM_MINETEST_HOST: "minetest"
volumes:
- "./data/minetest:/data"
- "postgres_socket:/var/run/postgresql"
matterbridge:
image: 42wim/matterbridge:1.26.0
restart: always
volumes:
- ./matterbridge.toml:/etc/matterbridge/matterbridge.toml
mapserver:
image: minetestmapserver/mapserver:4.9.0
restart: always
depends_on:
- "postgres"
- "minetest"
volumes:
- "./data/minetest/world:/minetest"
- "postgres_socket:/var/run/postgresql"
working_dir: "/minetest"
logging:
options:
max-size: 50m
manager:
image: buckaroobanzay/minetest_manager
depends_on:
- minetest
restart: always
volumes:
- "./data:/data"
environment:
- WORLDMODS_DIR=/data/minetest/world/worldmods
- WORLDMODS_BRANCH=master
- MEDIADIR=/data/nginx/html/media
- DEBUG_LOG=/data/minetest/debug.txt
- ERROR_LOG_OUTPUT=/data/nginx/html/error-log.txt
logging:
options:
max-size: 50m
nginx:
image: nginx:1.27.3
networks:
- terminator
- default
restart: always
depends_on:
- mapserver
- ui
labels:
- "traefik.enable=true"
- "traefik.docker.network=terminator"
- "traefik.http.routers.bananaland.rule=Host(`bananaland.minetest.ch`)"
- "traefik.http.services.bananaland.loadbalancer.server.port=80"
- "traefik.http.routers.bananaland.entrypoints=websecure"
- "traefik.http.routers.bananaland.tls.certresolver=default"
volumes:
- "./data/nginx/nginx.conf:/etc/nginx/nginx.conf:ro"
- "./data/nginx/htpasswd:/etc/nginx/htpasswd:ro"
- "./data/html:/html"
- "./data/crashlogs:/crashlogs"
logging:
options:
max-size: 50m
volumes:
postgres_socket: {}
networks:
terminator:
external: true