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
|
# Basic configuration
|
||||||
cat > server/config/production.yaml <<EOT
|
cat > server/config/production.yaml <<EOT
|
||||||
www:
|
www:
|
||||||
host: 0.0.0.0
|
host: 0.0.0.0
|
||||||
proxy: $WWW_PROXY
|
proxy: $WWW_PROXY
|
||||||
secret: "`pwgen -1`"
|
secret: "`pwgen -1`"
|
||||||
|
@ -46,26 +46,26 @@ else
|
||||||
sandboxUrlBase: $URL_BASE_SANDBOX
|
sandboxUrlBase: $URL_BASE_SANDBOX
|
||||||
publicUrlBase: $URL_BASE_PUBLIC
|
publicUrlBase: $URL_BASE_PUBLIC
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
host: $MYSQL_HOST
|
host: $MYSQL_HOST
|
||||||
database: $MYSQL_DATABASE
|
database: $MYSQL_DATABASE
|
||||||
user: $MYSQL_USER
|
user: $MYSQL_USER
|
||||||
password: $MYSQL_PASSWORD
|
password: $MYSQL_PASSWORD
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
enabled: true
|
enabled: true
|
||||||
host: $REDIS_HOST
|
host: $REDIS_HOST
|
||||||
|
|
||||||
log:
|
log:
|
||||||
level: info
|
level: info
|
||||||
|
|
||||||
builtinZoneMTA:
|
builtinZoneMTA:
|
||||||
log:
|
log:
|
||||||
level: warn
|
level: warn
|
||||||
mongo: mongodb://${MONGO_HOST}:27017/zone-mta
|
mongo: mongodb://${MONGO_HOST}:27017/zone-mta
|
||||||
redis: redis://${REDIS_HOST}:6379/2
|
redis: redis://${REDIS_HOST}:6379/2
|
||||||
|
|
||||||
queue:
|
queue:
|
||||||
processes: 5
|
processes: 5
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ EOT
|
||||||
if [ "$WITH_LDAP" = "true" ]; then
|
if [ "$WITH_LDAP" = "true" ]; then
|
||||||
echo 'Info: LDAP enabled'
|
echo 'Info: LDAP enabled'
|
||||||
cat >> server/config/production.yaml <<EOT
|
cat >> server/config/production.yaml <<EOT
|
||||||
ldap:
|
ldap:
|
||||||
enabled: true
|
enabled: true
|
||||||
host: $LDAP_HOST
|
host: $LDAP_HOST
|
||||||
port: $LDAP_PORT
|
port: $LDAP_PORT
|
||||||
|
@ -87,7 +87,7 @@ EOT
|
||||||
else
|
else
|
||||||
echo 'Info: LDAP not enabled'
|
echo 'Info: LDAP not enabled'
|
||||||
cat >> server/config/production.yaml <<EOT
|
cat >> server/config/production.yaml <<EOT
|
||||||
ldap:
|
ldap:
|
||||||
enabled: false
|
enabled: false
|
||||||
EOT
|
EOT
|
||||||
fi
|
fi
|
||||||
|
@ -99,9 +99,9 @@ if [ -f server/services/workers/reports/config/production.yaml ]; then
|
||||||
else
|
else
|
||||||
echo 'Info: Generating server/production.yaml'
|
echo 'Info: Generating server/production.yaml'
|
||||||
cat > server/services/workers/reports/config/production.yaml <<EOT
|
cat > server/services/workers/reports/config/production.yaml <<EOT
|
||||||
mysql:
|
mysql:
|
||||||
host: $MYSQL_HOST
|
host: $MYSQL_HOST
|
||||||
log:
|
log:
|
||||||
level: warn
|
level: warn
|
||||||
EOT
|
EOT
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue