forked from abakedapplepie/RealDeviceMap-tools
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.example.yml
38 lines (38 loc) · 1.26 KB
/
docker-compose.example.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
version: '3.1'
services:
rdm_tools:
image: ghcr.io/picklerickve/realdevicemap-tools:master
# You can remove this option if you are not using Traefik as reverse proxy
labels:
- traefik.enable=true
# Change yourdomain to your own domain
- traefik.http.routers.rdmtools.rule=Host(`rdm-tools.yourdomain.com`)
# Change your-network to your specified network below
- traefik.http.routers.rdmtools.entrypoints=your-network
container_name: rdm_tools
depends_on:
- rdm_db
volumes:
# Uncomment this if you want to use a password on your RDM Tools frontend
# - ./RealDeviceMap-tools/.htpasswd:/var/www/html/config/.htpasswd
# - ./RealDeviceMap-tools/.htaccess.example:/var/www/html/.htaccess
- /etc/localtime:/etc/localtime:ro
environment:
DB_HOST: rdm-db
DB_NAME: rdmdb
DB_PORT: 3306
DB_USER: root
DB_PSWD: password
# MDB_ACTIVE: false
# MDB_HOST: 127.0.0.1
# MDB_NAME: manualdb
# MDB_PORT: 3306
# MDB_USER: mdbuser
# MDB_PSWD: password
# OWN_TS: https://IP:PORT/tile/STYLE/{z}/{x}/{y}/1/png
ports:
#Change according to your own port-mapping
- 9006:80
networks:
# Change to your own network
- your-network