Skip to content

Commit

Permalink
configure docker to send email to mailhog
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Oct 22, 2024
1 parent 6ab2d02 commit 97614fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ sed -r \
-e 's!^(.*"PWMEMBERS", *)"[^"]*"!'"\\1'/twfy/data/parlparse/members/'!" \
-e 's!^(.*"XAPIANDB", *)"[^"]*"!'"\\1'/twfy/searchdb/'!" \
-e "s!^(.*define\('OPTION_MAPIT_URL', *)'[^']*"!"\\1'https://mapit.mysociety.org/!" \
-e "s!^(.*define\('OPTION_SMTP_SMARTHOST', *)'[^']*"!"\\1'email.svc!" \
-e "s!^(.*define\('OPTION_SMTP_PORT', *)[0-9]*"!"\\11025!" \
-e "s/array\('127.0.0.1'\)/array\('sentinel'\)/" \
conf/general-example > conf/general

Expand Down

0 comments on commit 97614fa

Please sign in to comment.