mindwendel
mindwendel helps you to easily brainstorm and upvote ideas and thoughts within your team.
Directory Structure
- .env
- docker-compose.yml
docker-compose.yml
version: '3.9'
services:
# You might already have other docker services listed in your docker-compose file
# ...
# Add the following mindwendel service
mindwendel:
image: ghcr.io/mindwendel/mindwendel:latest
environment:
# Add the address of the database host, so that mindwendel can find the database, e.g. an ip address or a reference to another service in the docker-compose file
DATABASE_HOST: db
# Add the port of the database host (default is 5432)
DATABASE_PORT: 5432
# Add the database name that mindwendel should use, e.g. in this case we created and named the database `mindwendel_prod`
DATABASE_NAME: "mindwendel_prod"
# Add the credentials for the database user that mindwendel should use to access the database
# NOTE: The database user should have read and write permissions
DATABASE_USER: "mindwendel_db_user"
DATABASE_USER_PASSWORD: "mindwendel_db_user_password"
# Add the url host that points to this mindwendel installation. This is used by mindwendel to generate urls with the right host throughout the app.
URL_HOST: "your_domain_to_mindwendel"
URL_PORT: 80
# for non local setups, ssl should be set to true!
DATABASE_SSL: "false"
MW_DEFAULT_LOCALE: en
# Add a secret key base for mindwendel for encrypting the use session
# NOTE: There are multiple commands you can use to generate a secret key base. Pick one command you like, e.g.:
# `date +%s | sha256sum | base64 | head -c 64 ; echo`
# See https://www.howtogeek.com/howto/30184/10-ways-to-generate-a-random-password-from-the-command-line/
SECRET_KEY_BASE: "generate_your_own_secret_key_base_and_save_it"
ports:
- "80:4000"
depends_on:
- db
# If you do not have another postgres database service in this docker-compose, you can add this postgres service.
# Note: Please use other credentials when using this in production.
db:
image: postgres:latest
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
PGDATA: /var/lib/postgresql/data/pgdata
restart: always
ports:
- "5432:5432"
# This is important for a production setup in order ot presist the mindwendel database even the docker container is stopped and removed
volumes:
- ./pgdata:/var/lib/postgresql/dataResources
Website: https://www.mindwendel.com/
GitHub: https://github.com/b310-digital/mindwendel
GitHub Container Registry: https://github.com/orgs/mindwendel/packages/container/package/mindwendel
Configuration: https://github.com/b310-digital/mindwendel/blob/master/docs/installing_mindwendel.md