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
47 lines (45 loc) · 1.12 KB
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (45 loc) · 1.12 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
version: '3.1'
services:
rdm:
image: 0815flo/realdevicemap:latest
container_name: realdevicemap
restart: unless-stopped
tty: true
depends_on:
- db
volumes:
- images:/perfect-deployed/realdevicemap/resources/webroot/static/img
# - /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!
WEB_SERVER_ADDRESS: 0.0.0.0
WEB_SERVER_PORT: 9000
WEBHOOK_SERVER_ADDRESS: 0.0.0.0
WEBHOOK_SERVER_PORT: 9001
db:
image: mariadb
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
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
data:
driver: local