Hello,
I am trying to test the docker container for the discourse software because i was told it came bundled with postsql, and had all the databases configured and ready to go. bitnami:discourse:latest from docker … I am seeing this in my terminal
1. [Containers](app://dd/dashboard/containers)
2. /
3. tester
### tester
[bitnami/discourse:latest](app://dd/dashboard/images/local/details?imageId=sha256%3Aad71ab26c224ab1d50f4f57ec5ddbc7a549ff331f3cf442860307358d59f79d5&nameHint=bitnami%2Fdiscourse%3Alatest&nameHintType=image-identity)
440:3000
**STATUS**
Exited (1) (0 seconds ago)
LogsInspectBind mountsExecFilesStats
2025-05-16 15:43:26
discourse 19:43:26.78 INFO ==>
2025-05-16 15:43:26
discourse 19:43:26.79 INFO ==> Welcome to the Bitnami discourse container
2025-05-16 15:43:26
discourse 19:43:26.79 INFO ==> Subscribe to project updates by watching [https://github.com/bitnami/containers](https://github.com/bitnami/containers)
2025-05-16 15:43:26
discourse 19:43:26.79 INFO ==> Did you know there are enterprise versions of the Bitnami catalog? For enhanced secure software supply chain features, unlimited pulls from Docker, LTS support, or application customization, see Bitnami Premium or Tanzu Application Catalog. See [https://www.arrow.com/globalecs/na/vendors/bitnami/](https://www.arrow.com/globalecs/na/vendors/bitnami/) for more information.
2025-05-16 15:43:26
discourse 19:43:26.79 INFO ==>
2025-05-16 15:43:26
discourse 19:43:26.80 INFO ==> Validating settings in POSTGRESQL_CLIENT_* env vars
2025-05-16 15:43:26
discourse 19:43:26.85 WARN ==> Hostname postgresql could not be resolved, this could lead to connection issues
2025-05-16 15:43:26
discourse 19:43:26.86 WARN ==> Hostname redis could not be resolved, this could lead to connection issues
2025-05-16 15:43:26
discourse 19:43:26.86 WARN ==> The DISCOURSE_DATABASE_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow a blank password. This is only recommended for development environments.
2025-05-16 15:43:26
discourse 19:43:26.86 WARN ==> The DISCOURSE_REDIS_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow a blank password. This is only recommended for development environments.
2025-05-16 15:43:26
discourse 19:43:26.86 INFO ==> Creating Discourse configuration file
2025-05-16 15:43:26
discourse 19:43:26.90 INFO ==> Ensuring Discourse directories exist
2025-05-16 15:43:26
discourse 19:43:26.91 INFO ==> Trying to connect to the database server
2025-05-16 15:44:27
discourse 19:44:27.12 ERROR ==> Could not connect to the database
Anyone know what to do as i thought the databases are configured on the first run? Anyone have basically a gitbook or a guide that can be used to figure this out, i know its third party and should be installed on a machine directly, so would this work from a docker continaer of just an empty OS such as Debian?
I really want to just see the software backend to be completely honest and than will remove the container, so looking for something that can be spun up quickly.
what is the best way using docker?
Running it through my terminal i am stuck at this screen and cannot find any discourse scripts, actually the whole folder is empty? under bin
alex@PollockFarm Scripts % docker run -ti --rm bitnami/discourse /bin/bash
discourse 19:43:37.88 INFO ==>
discourse 19:43:37.88 INFO ==> **Welcome to the Bitnami discourse container**
discourse 19:43:37.88 INFO ==> Subscribe to project updates by watching **https://github.com/bitnami/containers**
discourse 19:43:37.89 INFO ==> Did you know there are enterprise versions of the Bitnami catalog? For enhanced secure software supply chain features, unlimited pulls from Docker, LTS support, or application customization, see Bitnami Premium or Tanzu Application Catalog. See https://www.arrow.com/globalecs/na/vendors/bitnami/ for more information.
discourse 19:43:37.89 INFO ==>
Thanks
Alex