Update for Hedgedoc 🦔
This commit is contained in:
@ -34,13 +34,13 @@ main() {
|
||||
|
||||
main
|
||||
|
||||
export CMD_DB_URL=postgres://$CMD_DB_USER:$CMD_DB_PASSWORD@$CMD_DB_HOST/$CMD_DB_NAME
|
||||
export CMD_DB_URL=postgres://$CMD_DB_USER:$CMD_DB_PASSWORD@$CMD_DB_HOST:5432/$CMD_DB_NAME
|
||||
|
||||
# 3wc: `source /docker-entrypoint2.sh -e` to load CMD_DB_URL for CLI scripts
|
||||
if [ ! "${1-}" == "-e" ]; then
|
||||
# 3wc: upstream ENTRYPOINT
|
||||
# https://github.com/hackmdio/codimd/blob/develop/deployments/Dockerfile
|
||||
/home/hackmd/app/docker-entrypoint.sh
|
||||
# https://github.com/hedgedoc/container/blob/master/alpine/Dockerfile
|
||||
/usr/local/bin/docker-entrypoint.sh npm start
|
||||
fi
|
||||
|
||||
set +eu
|
||||
|
||||
Reference in New Issue
Block a user