Skip to content

Heroku compatible deploy#344

Open
ghost wants to merge 2 commits intocachethq:mainfrom
herval:heroku-compat
Open

Heroku compatible deploy#344
ghost wants to merge 2 commits intocachethq:mainfrom
herval:heroku-compat

Conversation

@ghost
Copy link

@ghost ghost commented Jun 20, 2019

Modify the Dockerfile & Nginx config a bit, so now it works both locally and on Heroku out of the box

@ghost ghost self-requested a review June 20, 2019 15:29
seed_db
echo "Starting Cachet! ..."
php artisan config:cache
envsubst '\$PORT' < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this may need to actually happen along with all of the sed replacement such as https://github.com/CachetHQ/Docker/blob/master/entrypoint.sh#L186 -- the CI failures seem to be related to a permissions error when trying to write to /etc/nginx/conf.d/default.conf as the non-root user.

Base automatically changed from master to main January 15, 2021 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant