Skip to content

Commit

Permalink
Merge pull request #165 from H2-invent/hotfix/swiftmailser_settings_i…
Browse files Browse the repository at this point in the history
…n_docker

add swiftmailer settings to the docker installation
  • Loading branch information
holema authored May 26, 2023
2 parents 6cb913e + 92aa8c5 commit df39c0e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ services:
OAUTH_KEYCLOAK_SERVER: ${HTTP_METHOD}://keycloak.${PUBLIC_URL}/auth
OAUTH_KEYCLOAK_REALM: opendatenschutzcenter
MAILER_DSN: ${MAILER_DSN}
MAILER_HOST: ${MAILER_HOST}
MAILER_PORT: ${MAILER_PORT}
MAILER_PASSWORD: ${MAILER_PASSWORD}
MAILER_USERNAME: ${MAILER_USERNAME}
MAILER_ENCRYPTION: ${MAILER_ENC}
laF_version: ${GIT_VERSION}
registerEmailAdress: ${registerEmailAdress}
laF_baseUrl: ${HTTP_METHOD}://${PUBLIC_URL}
Expand Down
5 changes: 5 additions & 0 deletions installDocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ sed -i "s|<keycloak-pw>|$KEYCLOAK_PW|g" docker-entrypoint-initdb.d/init-userdb.s


export MAILER_DSN=smtp://$smtpUsername:$smtpPassword@$smtpHost:$smtpPort
export MAILER_HOST=$smtpHost
export MAILER_PORT=$smtpPort
export MAILER_PASSWORD=$smtpPassword
export MAILER_USERNAME=$smtpUsername
export MAILER_ENC=$smtpEncryption
export laF_baseUrl=$HTTP_METHOD://$PUBLIC_URL

export GIT_VERSION=$(git rev-parse --short=5 HEAD)
Expand Down

0 comments on commit df39c0e

Please sign in to comment.