ex0nuss / Remote-Wake-Sleep-On-LAN-Docker

A docker image of sciguy14/Remote-Wake-Sleep-On-LAN-Server
GNU General Public License v3.0
34 stars 16 forks source link

Network host issue #11

Open 3th3r opened 1 year ago

3th3r commented 1 year ago

Not working,

WoL working on other device but not on this service. Problem with the network set as host.

djismgaming commented 9 months ago

Here's my working compose file:

services:
  RWSOL-Server:
    container_name: RWSOL-Server
    restart: unless-stopped
    entrypoint:
      - /entrypoint.sh
    environment:
      - TZ=America/Puerto_Rico
      - PASSPHRASE=
      - RWSOLS_COMPUTER_NAME=$RWSOLS_COMPUTER_NAME
      - RWSOLS_COMPUTER_MAC=$RWSOLS_COMPUTER_MAC
      - RWSOLS_COMPUTER_IP=$RWSOLS_COMPUTER_IP
      - RWSOLS_MAX_PINGS=10
      - RWSOLS_SLEEP_TIME=5
      - RWSOLS_SLEEP_CMD=suspend
      - RWSOLS_SLEEP_PORT=7760
      - TCP_PORT_9999=9999
      - APACHE2_PORT=9999
    image: ex0nuss/remote-wake-sleep-on-lan-docker
    network_mode: host