Discourse installation for Docker Swarm based on bitnami images
cp .env .env.local # create env file for stack
vi .env.local # change ENV vars according to your needs
Must have installed docker and docker-compose, and docker swarm properly configured, for more info about swarm mode, there is a recommended reading.
Installation must be done from a manager node.
docker stack deploy -c <(docker-compose -f stack.yml --env-file .env.local config) discourse