aspendigital / docker-octobercms

Dockerized October CMS: PHP, Composer, October core and dependencies
MIT License
150 stars 54 forks source link

Update README with ssl notes #33

Open arndt-s opened 4 years ago

arndt-s commented 4 years ago

Please update the README file and add a section where ssl is documented:

I've had a problem that my configuration in config/cms.php was overwritten by CMS_LINK_POLICY env of the docker image. Same goes for APP_URL etc.

petehalverson commented 4 years ago

Hi @arndt-s!

Agreed. I think we should add some helpful HTTPS examples.

By default, APP_ENV=docker when a container is started. The variables defined in config/docker/cms.php will override those set in config/cms.php unless otherwise overridden.

programster commented 4 years ago

An example in the README would be very useful.

It took me a while to figure out all the things I had to do. If it helps, I posted my solution (using docker with jwilder reverse proxy) here: https://blog.programster.org/deploy-october-cms-with-docker#adding-ssl