mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-06-30 18:51:03 +00:00
Fix Docker images entrypoint to configure DATA and STORE env vars by default if not set to sensible valeus
This commit is contained in:
parent
3b300f09fd
commit
a12b9478d7
@ -4,8 +4,8 @@
|
|||||||
[ -n "${PGID}" ] && groupmod -g "${PGID}" salty
|
[ -n "${PGID}" ] && groupmod -g "${PGID}" salty
|
||||||
|
|
||||||
printf "Configuring salty-chat ..."
|
printf "Configuring salty-chat ..."
|
||||||
#[ -z "${DATA}" ] && DATA="/data"
|
[ -z "${DATA}" ] && DATA="/data"
|
||||||
#[ -z "${STORE}" ] && STORE="bitcask:///data/yarn.db"
|
[ -z "${STORE}" ] && STORE="bitcask:///data/saltyim.db"
|
||||||
#[ -z "${OPEN_REGISTRATIONS}" ] && OPEN_REGISTRATIONS=true
|
#[ -z "${OPEN_REGISTRATIONS}" ] && OPEN_REGISTRATIONS=true
|
||||||
#[ -z "${OPEN_PROFILES}" ] && OPEN_PROFILES=true
|
#[ -z "${OPEN_PROFILES}" ] && OPEN_PROFILES=true
|
||||||
#[ -z "${COOKIE_SECRET}" ] && COOKIE_SECRET="$(random_string)"
|
#[ -z "${COOKIE_SECRET}" ] && COOKIE_SECRET="$(random_string)"
|
||||||
|
Loading…
Reference in New Issue
Block a user