An simple alternative Discourse image.
1.4K
An unofficial container image for Discourse.
This an alternative (simpler and better) way to run discourse. See the Related section below for a comparison.
Choose one of the 3 supported methods.
This image can be used anywhere OCI containers can be used.
discourse.conf with your hostname, redis and db details.bundle exec rake assets:precompile
bundle exec rake admin:create
mkdir -p data/sql
sudo podman play kube pod.yaml
sudo podman exec -it discourse-kiss-app bundle exec rake assets:precompile
sudo podman exec -it discourse-kiss-app bundle exec rake admin:create
open http://localhost:8014/
to update the image:
sudo podman build -t docker.io/0ex0/discourse-kiss .
docker-compose up
docker-compose run app bundle exec rake assets:precompile
docker-compose run app bundle exec rake admin:create
open http://localhost:8014/
The default config is to serve the forum at http://localhost:8014/forum/. This is configurable by:
/forum/ in nginx.conf with /misc:
bundle exec script/discourse ...
bundle exec rake --tasks
settings:
bundle exec rake site_settings:export > settings.yml
bundle exec rake site_settings:import < settings.yml
upstream docs:
to start a shell in the pod:
podman run -it --pod discourse-kiss alpine
to configure the password:
docker-compose run redis redis-cli -h redis
redis:6379> config set requirepass password123
shell client:
docker-compose exec -u 0 postgresql psql -U postgres
reference
webserver
Compared to the official method discourse-kiss:
Content type
Image
Digest
Size
1022.2 MB
Last updated
about 6 years ago
docker pull 0ex0/discourse-kiss