Skip to content
Snippets Groups Projects
Commit 57efa0a1 authored by D4rkHeart's avatar D4rkHeart
Browse files

[Feat] 12 factored env vars for the form app

parent 19c08434
No related branches found
No related tags found
1 merge request!6[Feat] Docker configuration
PassEnv DB_HOST DB_NAME DB_USER DB_PASSWORD
PassEnv SENDEMAILS MAIL_FROM MAIL_CONTACT MAIL_REPLYTO
PassEnv ENVIRONMENT
PassEnv FILESERVERPATH
\ No newline at end of file
#!/bin/sh
set -e -x
# Substitute 12-factored env vars now (we couldn't do that at compile time
# because we don't know the values until runtime).
# sed -i -e "s|_REPLACE_ME_LATER__API_LOCATION|$API_LOCATION|" \
# -e "s|_REPLACE_ME_LATER__LOGIN_REDIRECT|$LOGIN_REDIRECT|" \
# /usr/local/apache2/htdocs/gest/js/app.*.js
exec /usr/local/bin/httpd-foreground
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment