Skip to content

Commit

Permalink
Merge pull request #96 from csync/laik/readme
Browse files Browse the repository at this point in the history
Fixed docker commands
  • Loading branch information
Narine C authored Apr 13, 2017
2 parents 2773aac + 0c231ef commit 3f1dd59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ A list of all response codes is shown [here.](https://github.com/csync/csync-ser

To enable **Google Authentication** add in an environment variable like so:

- `docker run -d -p 6005:6005 -e CSYNC_GOOGLE_CLIENT_IDS googleClientIDHere csync`
- `docker run -d -p 6005:6005 -e CSYNC_GOOGLE_CLIENT_IDS = "googleClientIDHere" csync`

To enable **GitHub Authentication** add in a client ID and client Secret

- `docker run -d -p 6005:6005 -e CSYNC_GITHUB_ID githubIdHere -e CSYNC_GITHUB_SECRET githubSecretHere csync`
- `docker run -d -p 6005:6005 -e CSYNC_GITHUB_ID = "githubIdHere" -e CSYNC_GITHUB_SECRET = "githubSecretHere" csync`

To enable **Facebook Authentication** add in an app ID and app secret

- `docker run -d -p 6005:6005 -e CSYNC_FACEBOOK_ID facebookIdHere -e CSYNC_FACEBOOK_SECRET facebookSecretHere csync`
- `docker run -d -p 6005:6005 -e CSYNC_FACEBOOK_ID = "facebookIdHere" -e CSYNC_FACEBOOK_SECRET = "facebookSecretHere" csync`

All of the authentication providers can be enabled at the same time by having each environment variables specified.

Expand Down

0 comments on commit 3f1dd59

Please sign in to comment.