Thom
ff63edbc4c
Fix broken links to old services docs. ( #135 )
...
AFAICT mozilla-services.readthedocs.io is where everything lives now, and docs.services.mozilla.com is busted.
2018-09-12 15:14:27 -04:00
John Morrison
a9a8d66bcd
[docker-entry-point.sh] add missing backslash line continuation ( #133 )
2018-08-31 19:12:15 -04:00
Ryan Kelly
1935cad4ed
Merge pull request #132 from 1wilkens/forwarded-allow-ips
...
[docker-entrypoint.sh] Optionally handle X-Forwarded-Proto
2018-08-30 08:12:03 +10:00
Florian Wilkens
ed97a4759d
[docker-entry-point.sh] Allow docker host per default
2018-08-29 16:50:49 +02:00
Florian Wilkens
49867e15ff
[docker-entrypoint.sh] Optionally handle X-Forwarded-Proto
...
In the default configuration gunicorn respects the X-Forwarded-Proto HTTP header only if the connection comes from localhost.
This is not the case when e.g. running under docker where gunicorn sees the docker gateway IP causing it to disregard the header and potentially produce an error regarding the mismatch of public_url and application url.
The commandline argument --forwarded-allow-ips tells gunicorn to trust the headers if the connection originates from certain other IP addresses.
To expose this setting for docker setups of syncserver, the docker entrypoint is changed to optionally set this argument based on the environment variable SYNCSERVER_FORWARDED_ALLOW_IPS defaulting to 127.0.0.1 which mirrors the gunicorn default.
2018-08-23 11:55:12 +02:00
Ryan Kelly
4d6e0a3ab9
Fix README to reflect recent docker changes. ( #130 )
2018-07-22 22:21:45 -07:00
Ryan Kelly
e3885888ff
Migrate to CircleCI 2 ( #129 ); r=jrgm
2018-07-22 21:55:11 -07:00
Ryan Kelly
7700f72424
Add ability to configure a remote browserid verifier. ( #127 ) r=@vladikoff
...
We still default to using the local verifer because it's simpler,
but using a remote verifier may be necessary for e.g. testing
purposes when running on localhost.
Connects to mozilla/fxa-local-dev#112
2018-07-17 13:26:14 -04:00
Ryan Kelly
96e3b49b17
Merge pull request #123 from mozilla-services/bug-988134-port
...
Bug 988134: Drop the unique constraint on client_state.
2018-05-30 16:30:49 +10:00
Ryan Kelly
1549ebe62e
Bug 988134: Drop the unique constraint on client_state.
2018-05-29 07:30:25 +10:00
Ryan Kelly
2865b19181
Merge pull request #119 from ACUVE/fix_dockerfile
...
Install libffi-dev and openssl-dev for dependencies on alpine.
2018-05-07 10:26:08 +10:00
ACUVE
830e34acb7
Install libffi-dev and openssl-dev for dependencies on alpine.
2018-05-06 14:52:48 +09:00
Ryan Kelly
34344d8b96
Prep v1.8.0
2018-05-04 14:13:07 +10:00
Ryan Kelly
b5efb9f38a
Enable batch-upload API by default
2018-05-04 14:12:50 +10:00
Ryan Kelly
2497ad5c27
Use oauth-sync-enabled tokenserver, adjust config to match.
2018-05-04 13:59:13 +10:00
Ryan Kelly
48c4a5b477
Add an easy way to configure the identity provider.
...
Setting the SYNCSERVER_IDENTITY_PROVIDER environment variable will
cause syncserver to restrict both BrowserID and OAuth credentials
to be issued from that server.
2018-05-04 13:59:13 +10:00
Ryan Kelly
2400ef3855
Explicitly install libstdc++ for alpine linux.
2018-04-10 18:22:02 +10:00
Ryan Kelly
d0ebd930a6
Merge pull request #114 from dev-rke/patch-1
...
migrated Dockerfile to be based on alpine linux
2018-04-10 17:12:22 +10:00
dev-rke
e4d1758dd4
migrated Dockerfile to be based on alpine linux
...
The migration also solves an issue when running this service under ARM based architectures, as the previous usage of dumb-init_1.2.0_amd64 is incompatible on ARM architecture.
2018-04-10 01:30:38 +02:00
Ryan Kelly
9c42e7a25e
Automatically push feature.* branches to docker hub.
2018-04-02 14:56:19 +10:00
Ryan Kelly
b482e5bad4
Merge pull request #112 from bquintanajm/update-pip
...
Upgrade pip when building the docker image
2018-03-19 12:19:53 +11:00
Juan Manuel
48165be231
Upgrade pip when building the docker image
2018-03-18 21:28:16 +01:00
Ryan Kelly
d03e4ece56
Upgrade pip when installing the virtualenv
2018-02-05 09:28:25 +11:00
Ryan Kelly
57f4de6773
Prep v1.7.0
2018-01-16 08:26:59 +11:00
Stanislas Bach
974249c442
Fix Docker 'run' command ( #106 ); r=@rfk
2018-01-10 15:54:21 +11:00
Ryan Kelly
1cd91041a4
Add docs and example for allowed_issuers setting.
2018-01-10 15:43:59 +11:00
petrcech
7ce829b26b
str_to_bool is returns always True ( #105 ); r=rfk
...
Fix str_to_bool to return False for "false" values
2017-12-15 00:51:21 +11:00
Ryan Kelly
3d81c658f2
Add note in readme about gcc/g++ requirement for build
2017-11-27 11:11:06 +11:00
Mike Sager
095701c0cf
Add SYNCSERVER_FORCE_WSGI_ENVIRON to list of configuration options that can be set via environment variables ( #100 ); r=rfk
2017-11-15 08:03:38 +11:00
Diogo Serrano
3d2d2820a7
Fix docker automated label from readme ( #98 )
...
The existing label was using the wrong repository handle
(`jrottenberg/ffmpeg` instead of `mozilla-services/syncserver`).
2017-10-17 09:49:39 +11:00
Ryan Kelly
4f4787eadf
Update to latest version of dependencies
2017-08-15 13:05:05 +10:00
Vlad Filippov
0a90880971
chore(docs): add a link to the official docker image and CircleCI
2017-05-31 15:44:06 -04:00
Ryan Kelly
cf944cf4c9
Update dependencies to fix LocalVerifier support ( #93 )
...
Fixes #91 , by pulling in a new version of tokenserver's LocalVerifier class that properly supports the extra "idpClaims" property that we use for tracking FxA generation numbers.
2017-05-30 07:33:48 +10:00
Ryan Kelly
72d618f3ee
Add support for deploying via dockerflow pipeline. ( #90 ) r=vladikoff
2017-05-25 21:44:36 -04:00
Ryan Kelly
7fe5c0fafc
Allow piecemeal overrides of tokenserver backend default config.
...
Before this change, you have either have to accept the default config
for the tokenserver backend, or specify all config options and hence
duplicate info from earlier in the file. With this change you can
now just specify anything you want to change and we'll use the defaults
for the rest.
2017-04-10 11:49:33 +10:00
Ryan Kelly
8e693129e6
Add ability to set pool_recycle via config.
2017-04-10 11:39:57 +10:00
Ryan Kelly
146e6e6588
Disable batch-upload API by default, it's not in production yet.
2017-03-10 10:34:44 +11:00
Ryan Kelly
0b784329b2
Update dependencies
2017-02-14 10:20:40 +11:00
Ryan Kelly
d7bd0cf9fd
Remove testing for python2.6
2016-11-24 11:12:09 +11:00
Ryan Kelly
35283e66fd
Prep v1.6.0
2016-11-24 10:40:21 +11:00
Ryan Kelly
b57a109c7a
Fix typo in readme
2016-08-17 14:44:22 +10:00
Ryan Kelly
bb1c5668f4
Update requests dependency version
2016-08-08 11:09:41 +10:00
Ryan Kelly
ccfb350664
Update to latest version of dependencies
2016-08-02 15:25:15 +10:00
Ryan Kelly
c5c7de85d8
Use randomly-generated fxa.metrics_uid_secret_key for self-hosters.
2016-08-02 15:18:27 +10:00
Ryan Kelly
a35ed3785c
Merge pull request #79 from mozilla-services/log-level-warn-by-default
...
Log at WARN level by default, rather than INFO
2016-08-02 15:07:45 +10:00
Ryan Kelly
3aa07d7f66
Log at WARN level by default, rather than INFO
2016-08-02 15:03:02 +10:00
Ryan Kelly
a727a530d1
Use latest HEAD for server-syncstorage
2016-05-26 11:49:22 +10:00
Ryan Kelly
aeaa6c1563
Use latest HEAD of tokenserver and server-syncstorage
2016-05-17 12:53:38 +10:00
Ryan Kelly
cc04ec4dcd
Merge pull request #74 from sbraz/master
...
Fix typo in exception message
2016-04-12 08:36:42 +10:00
Louis Sautier
6182f1106d
Fix typo in exception message
2016-04-12 00:15:17 +02:00