This repository was archived by the owner on Jul 10, 2022. It is now read-only.
forked from RealDeviceMap/RealDeviceMap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (50 loc) · 1.34 KB
/
docker-compose.yml
File metadata and controls
50 lines (50 loc) · 1.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
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
# - /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
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