Skip to content

Conversation

rslota
Copy link
Contributor

@rslota rslota commented Nov 6, 2019

  • Make config/dev.exs connect by default to local mocks that can be
    setup the same way as for tests.
  • README.md now includes information aboout building dev release that
    connects to local APNS / FCM mocks.

Make `config/dev.exs` connect by default to local mocks that can be
setup the same way as for tests.
README.md now includes information aboout building `dev` release that
connects to local APNS / FCM mocks.
@rslota rslota requested a review from zofpolkowska November 6, 2019 15:12
use_2197: true,
pool_size: 5
pool_size: 5,
tls_opts: []
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This option is here, as recently MongoosePush started validating APNS / FCM server certs by default. As for dev release we expect to be connecting to mocks, we need to disable the verification, as otherwise the release won't boot.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can add this option to the list here: 7983a85#diff-04c6e90faac2675aa89e2176d2eec7d8R194 ?

Copy link
Contributor

@zofpolkowska zofpolkowska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it is much clearer, thank you for the update:)

@rslota rslota merged commit 8049a41 into master Nov 6, 2019
@rslota rslota deleted the rs/fix-dev-release-config branch November 6, 2019 16:01
rslota added a commit that referenced this pull request Nov 21, 2019
* Update config/dev.exs

Make `config/dev.exs` connect by default to local mocks that can be
setup the same way as for tests.

* Update README.md

README.md now includes information aboout building `dev` release that
connects to local APNS / FCM mocks.

* Update config files documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants