Forked GitHub - discourse/discourse: A platform for community discussion. Free, open, simple. on github and modify some code. But how to deploy it with docker?
Below works better for my case:
- clone the code to host: /var/app/enabled/discourse
- mount the source code to docker container
# vi containers/app.yml volumes: - volume: host: /var/app/enabled/bigcommunity/discourse guest: /var/www/discourse
That’s not really deploying Discourse from a forked repo. You’re also breaking all of the standard stuff around exporting logs out of the container. That’s a really unsupported setup you’ve got.
OK, I will try yours.
One more question: i’ve installed PostgreSQL on host. How to connect to it from docker discourse?
Look at the