mirror of
https://github.com/discourse/discourse_docker.git
synced 2025-05-27 10:29:17 +00:00
Abort if domain is not configured
https://meta.discourse.org/t/stupid-discourse-examples-com-set-up-issue/31260/9?u=riking
This commit is contained in:
parent
a59e9e6cee
commit
28aa70d0f3
@ -22,6 +22,7 @@ params:
|
||||
|
||||
run:
|
||||
- exec: /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
|
||||
- exec: /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
|
||||
- file:
|
||||
path: /etc/runit/1.d/copy-env
|
||||
chmod: "+x"
|
||||
|
Loading…
x
Reference in New Issue
Block a user