mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
monolithic alpine container
This commit is contained in:
6
install/alpine-docker/services/start-backend.sh
Normal file
6
install/alpine-docker/services/start-backend.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
echo "Starting backend..."
|
||||
cd "${NETALERTX_APP}" || exit
|
||||
export PYTHONPATH="${NETALERTX_SERVER}"
|
||||
# Start the backend, teeing stdout and stderr to log files and the container's console
|
||||
python3 -m server > >(tee /app/log/stdout.log) 2> >(tee /app/log/stderr.log >&2)
|
||||
Reference in New Issue
Block a user