Skip to content
Snippets Groups Projects

update properties for docker flags

Files
5
@@ -10,10 +10,10 @@ spring.profiles.active=env_kubernetes, dcn_manual, db_standalone
@@ -10,10 +10,10 @@ spring.profiles.active=env_kubernetes, dcn_manual, db_standalone
# ---------------- #
# ---------------- #
# General settings #
# General settings #
# ---------------- #
# ---------------- #
server.port=${PLATFORM_PORT}
server.port=${PLATFORM_PORT:9000}
portal.address=${PORTAL_HOST}
portal.address=${PORTAL_HOST:http://localhost:4200}
admin.password=${ADMIN_PASSWORD}
admin.password=${ADMIN_PASSWORD:admin}
admin.email=${ADMIN_EMAIL}
admin.email=${ADMIN_EMAIL:admin@nmaas.eu}
# REST API documentation
# REST API documentation
springdoc.api-docs.enabled=${PLATFORM_API_DOCS_ENABLED:false}
springdoc.api-docs.enabled=${PLATFORM_API_DOCS_ENABLED:false}
@@ -22,10 +22,10 @@ springdoc.swagger-ui.enabled=${PLATFORM_API_DOCS_ENABLED:false}
@@ -22,10 +22,10 @@ springdoc.swagger-ui.enabled=${PLATFORM_API_DOCS_ENABLED:false}
springdoc.swagger-ui.path=/api-docs/ui.html
springdoc.swagger-ui.path=/api-docs/ui.html
# Email
# Email
spring.mail.username=${SMTP_LOGIN}
spring.mail.username=${SMTP_LOGIN:default}
spring.mail.password=${SMTP_PASSWORD}
spring.mail.password=${SMTP_PASSWORD:default}
spring.mail.host=${SMTP_HOST}
spring.mail.host=${SMTP_HOST:smtp.nmaas.eu}
spring.mail.port=${SMTP_PORT}
spring.mail.port=${SMTP_PORT:587}
spring.mail.properties.mail.smtp.auth=${USE_LOGIN_PASSWORD}
spring.mail.properties.mail.smtp.auth=${USE_LOGIN_PASSWORD}
spring.mail.properties.mail.smtp.starttls.enable=${USE_STARTTLS}
spring.mail.properties.mail.smtp.starttls.enable=${USE_STARTTLS}
spring.mail.properties.mail.smtp.starttls.required=${USE_STARTTLS}
spring.mail.properties.mail.smtp.starttls.required=${USE_STARTTLS}
@@ -51,9 +51,9 @@ notifications.from-address=${SMTP_FROM}
@@ -51,9 +51,9 @@ notifications.from-address=${SMTP_FROM}
# Database #
# Database #
# ---------------- #
# ---------------- #
# Standalone PostgreSQL
# Standalone PostgreSQL
db.standalone.jdbc-url=jdbc:postgresql://${POSTGRESQL_HOST}:${POSTGRESQL_PORT}/${POSTGRESQL_DBNAME}
db.standalone.jdbc-url=jdbc:postgresql://${POSTGRESQL_HOST:postgresql}:${POSTGRESQL_PORT:5432}/${POSTGRESQL_DBNAME:nmaas}
db.standalone.username=${POSTGRESQL_USERNAME}
db.standalone.username=${POSTGRESQL_USERNAME:nmaas}
db.standalone.password=${POSTGRESQL_PASSWORD}
db.standalone.password=${POSTGRESQL_PASSWORD:nmaas}
# FlywayDB settings
# FlywayDB settings
spring.flyway.enabled=true
spring.flyway.enabled=true
spring.flyway.locations=classpath:/db/migration
spring.flyway.locations=classpath:/db/migration
Loading