More env vars for config.php added.
This commit is contained in:
1 parent
0d51afedfa
commit
11ab16e767
3 files changed
+5
-53
No files matched your search
+3
-1
@@ -42,11 +42,13 @@ COPY config.php /var/www/html/config.php
|
||||
COPY entrypoint.sh /
|
||||
|
||||
ENV APACHE2_PORT=80
|
||||
ENV PASSPHRASE=
|
||||
ENV PASSPHRASE=admin
|
||||
ENV RWSOLS_MAX_PINGS=15
|
||||
ENV RWSOLS_SLEEP_TIME=5
|
||||
ENV RWSOLS_COMPUTER_NAME=
|
||||
ENV RWSOLS_COMPUTER_MAC=
|
||||
ENV RWSOLS_COMPUTER_IP=
|
||||
ENV RWSOLS_SLEEP_PORT=7760
|
||||
ENV RWSOLS_SLEEP_CMD=suspend
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
+2
-2
@@ -34,12 +34,12 @@
|
||||
// This is the Port being used by the Windows SleepOnLan Utility to initiate a Sleep State
|
||||
// http://www.ireksoftware.com/SleepOnLan/
|
||||
// Alternate Download Link: http://www.jeremyblum.com/wp-content/uploads/2013/07/SleepOnLan.zip
|
||||
$COMPUTER_SLEEP_CMD_PORT = 7760;
|
||||
$COMPUTER_SLEEP_CMD_PORT = REPLACE_RWSOLS_SLEEP_PORT;
|
||||
|
||||
// Command to be issued by the windows sleeponlan utility
|
||||
// options are suspend, hibernate, logoff, poweroff, forcepoweroff, lock, reboot
|
||||
// You can create a windows scheduled task that starts sleeponlan.exe on boot with following startup parameters /auto /port=7760
|
||||
$COMPUTER_SLEEP_CMD = "suspend";
|
||||
$COMPUTER_SLEEP_CMD = "REPLACE_RWSOLS_SLEEP_CMD";
|
||||
|
||||
// This is the location of the bootstrap style folder relative to your index and config file. Default = "" (Same folder as this file)
|
||||
// Directory must be called "bootstrap". You may wish to move if this WOL script is the "child" of a larger web project on your Pi, that will also use bootstrap styling.
|
||||
|
||||
Reference in new issue
Block a user