Update docker to be better
This commit is contained in:
10
docker/start.sh
Normal file
10
docker/start.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
port="${PORT:-8080}"
|
||||
directory="${DIRECTORY:-/data/}"
|
||||
|
||||
if [ "$HTTPS" = "true" ]; then
|
||||
/root/ew/ew --path $directory --port $port --https
|
||||
else
|
||||
/root/ew/ew --path $directory --port $port
|
||||
fi
|
Reference in New Issue
Block a user