Wiki Cafe's configuration for a Distribution deployment with a UI. Originally from an abra recipe by Co-op Cloud.
abra
Set the environment variables from the .env file during the shell session.
set -a && source .env && set +a
Set the secrets if any.
printf "SECRET_HERE" | docker secret create SECRET_NAME -
Deploy using the -c flag to specify one or multiple compose files.
-c
docker stack deploy distribution -c compose.yaml