Set right indentions for merging with own server/config/production.yaml
This commit is contained in:
parent
7744f5dc29
commit
b959bb0812
1 changed files with 40 additions and 40 deletions
|
@ -38,7 +38,7 @@ else
|
|||
|
||||
# Basic configuration
|
||||
cat > server/config/production.yaml <<EOT
|
||||
www:
|
||||
www:
|
||||
host: 0.0.0.0
|
||||
proxy: $WWW_PROXY
|
||||
secret: "`pwgen -1`"
|
||||
|
@ -46,26 +46,26 @@ else
|
|||
sandboxUrlBase: $URL_BASE_SANDBOX
|
||||
publicUrlBase: $URL_BASE_PUBLIC
|
||||
|
||||
mysql:
|
||||
mysql:
|
||||
host: $MYSQL_HOST
|
||||
database: $MYSQL_DATABASE
|
||||
user: $MYSQL_USER
|
||||
password: $MYSQL_PASSWORD
|
||||
|
||||
redis:
|
||||
redis:
|
||||
enabled: true
|
||||
host: $REDIS_HOST
|
||||
|
||||
log:
|
||||
log:
|
||||
level: info
|
||||
|
||||
builtinZoneMTA:
|
||||
builtinZoneMTA:
|
||||
log:
|
||||
level: warn
|
||||
mongo: mongodb://${MONGO_HOST}:27017/zone-mta
|
||||
redis: redis://${REDIS_HOST}:6379/2
|
||||
|
||||
queue:
|
||||
queue:
|
||||
processes: 5
|
||||
EOT
|
||||
|
||||
|
@ -73,7 +73,7 @@ EOT
|
|||
if [ "$WITH_LDAP" = "true" ]; then
|
||||
echo 'Info: LDAP enabled'
|
||||
cat >> server/config/production.yaml <<EOT
|
||||
ldap:
|
||||
ldap:
|
||||
enabled: true
|
||||
host: $LDAP_HOST
|
||||
port: $LDAP_PORT
|
||||
|
@ -87,7 +87,7 @@ EOT
|
|||
else
|
||||
echo 'Info: LDAP not enabled'
|
||||
cat >> server/config/production.yaml <<EOT
|
||||
ldap:
|
||||
ldap:
|
||||
enabled: false
|
||||
EOT
|
||||
fi
|
||||
|
@ -99,9 +99,9 @@ if [ -f server/services/workers/reports/config/production.yaml ]; then
|
|||
else
|
||||
echo 'Info: Generating server/production.yaml'
|
||||
cat > server/services/workers/reports/config/production.yaml <<EOT
|
||||
mysql:
|
||||
mysql:
|
||||
host: $MYSQL_HOST
|
||||
log:
|
||||
log:
|
||||
level: warn
|
||||
EOT
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue