ew/docker/start.sh

11 lines
203 B
Bash
Raw Normal View History

2024-07-04 21:21:03 +00:00
#!/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