feat: docker non-root uid and gid

This commit is contained in:
Jun Kurihara 2023-06-17 13:45:38 +09:00
commit fa03e7d5e7
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
11 changed files with 184 additions and 157 deletions

10
docker/run.sh Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env sh
CONFIG_FILE=/etc/rpxy.toml
# debug level logging
if [ -z $LOG_LEVEL ]; then
LOG_LEVEL=info
fi
echo "rpxy: Logging with level ${LOG_LEVEL}"
RUST_LOG=${LOG_LEVEL} /rpxy/bin/rpxy --config ${CONFIG_FILE}