forked from RealDeviceMap/RealDeviceMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
79 lines (79 loc) · 2.56 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
version: '3.1'
services:
rdm:
image: docker.pkg.github.com/realdevicemap/realdevicemap/realdevicemap:master
container_name: realdevicemap
restart: unless-stopped
tty: true
depends_on:
- db
volumes:
- images:/app/resources/webroot/static/img
- backups:/app/backups
# - favicons:/app/resources/webroot/static/favicons
# - /etc/localtime:/etc/localtime:ro
ports:
- 9000:9000
- 9001:9001
environment:
DB_DATABASE: rdmdb
DB_HOST: db
DB_PORT: 3306
DB_USERNAME: rdmuser
DB_PASSWORD: YourStrongPassw0rd!
DB_ROOT_USERNAME: root
DB_ROOT_PASSWORD: YourStrongRootPassw0rd!
WEB_SERVER_ADDRESS: 0.0.0.0
WEB_SERVER_PORT: 9000
WEBHOOK_SERVER_ADDRESS: 0.0.0.0
WEBHOOK_SERVER_PORT: 9001
WEBHOOK_ENDPOINT_TIMEOUT: 30
WEBHOOK_ENDPOINT_CONNECT_TIMEOUT: 30
MEMORY_CACHE_CLEAR_INTERVAL: 900
MEMORY_CACHE_KEEP_TIME: 3600
RAW_THREAD_LIMIT: 100
LOG_LEVEL: debug
# LOGINLIMIT_COUNT: 15
# LOGINLIMIT_INTERVALL: 300
### Uncommenting the following lines will set these values to TRUE (regardless of their value)
# USE_RW_FOR_QUEST: 1
# USE_RW_FOR_RAID: 1
# NO_GENERATE_IMAGES: 1
# NO_PVP: 1
# NO_IV_WEATHER_CLEARING: 1
# NO_CELL_POKEMON: 1
# NO_MEMORY_CACHE: 1
# NO_BACKUP: 1
# NO_REQUIRE_ACCOUNT: 1
### Uncommenting The following lines will start RDM in lldb and store crash reports in the backups folder
### Running in lldb will use a bit more resources. (Running RDM works like usual)
# entrypoint: ["/bin/sh", "-c", "lldb -b -o \"file ./RealDeviceMap\" -o \"breakpoint set --file main.swift --line 17\" -o \"run\" -o \"process handle SIGPIPE -n true -p true -s false\" -o \"continue\" -k \"bugreport unwind --outfile ./backups/crash-$$(date +%s).log\" -k \"exit\""]
# cap_add:
# - SYS_ADMIN
# security_opt:
# - seccomp=unconfined
# - apparmor=unconfined
db:
image: mysql
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --default-authentication-plugin=mysql_native_password --binlog-expire-logs-seconds=86400
container_name: realdevicemap-db
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: YourStrongRootPassw0rd!
MYSQL_DATABASE: rdmdb
MYSQL_USER: rdmuser
MYSQL_PASSWORD: YourStrongPassw0rd!
ports:
- 3306:3306
volumes:
- data:/var/lib/mysql
# - /etc/localtime:/etc/localtime:ro
volumes:
images:
driver: local
backups:
driver: local
data:
driver: local
# favicons
# driver: local