Vielleicht eine gute Idee, Ihre yml-Datei hier zu teilen, aber entfernen Sie sensible Informationen. Die letzten beiden Abschnitte werden wahrscheinlich ausreichen. Verwenden Sie das vorformatierte Text-Gadget, damit es wie folgt angezeigt wird:
## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/docker_manager.git
## Any custom commands to run after building
run:
- exec: echo "Beginning of custom commands"
## If you want to set the 'From' email address for your first registration, uncomment and change:
## After getting the first signup email, re-comment the line. It only needs to run once.
#- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
- exec: echo "End of custom commands"