ew/docker/start.sh
2024-07-04 16:21:03 -05:00

11 lines
203 B
Bash

#!/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