forked from PickleRickVE/RealDeviceMap-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.example.yml
28 lines (28 loc) · 1.04 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
version: '3.1'
services:
rdm_tools:
build:
# Change according to your mapping
context: ./RealDeviceMap-tools
# 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:
- ./RealDeviceMap-tools/config/config.env.php:/var/www/html/config/config.php
# 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
ports:
#Change according to your own port-mapping
- 9006:80
networks:
# Change to your own network
- your-network