forked from sameerdhoot/wolweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
24 lines (21 loc) · 790 Bytes
/
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
version: "3"
services:
wolweb:
container_name: wolweb
image: "ghcr.io/sameerdhoot/wolweb"
restart: always
# Make sure that the file exists in local directory from where you are running the compose file;
# or initialize empty json file by running command "echo '{}' > devices.json".
volumes:
- ./devices.json:/wolweb/devices.json
# Have to use host mode as bridge network has issues with UDP broadcast
# https://github.com/docker/for-linux/issues/637
# ports:
# - 12345:8089
network_mode: host
# Use environment variable below to change port or virtual directory.
environment:
WOLWEBHOST: "0.0.0.0"
WOLWEBPORT: "8089"
#WOLWEBVDIR: "/wolweb"
WOLWEBBCASTIP: "192.168.1.255:9"