mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 16:59:22 +02:00
deployment : add docker-compose file
This commit is contained in:
parent
e41d11f78b
commit
60afad1bd7
3 changed files with 28 additions and 28 deletions
|
@ -41,11 +41,11 @@ Your `Client ID` and `Client Secret` will be displayed:
|
|||
Set `Client ID` and `Client Secret` in Pomerium's settings. Your [environmental variables] should look something like this.
|
||||
|
||||
```bash
|
||||
export REDIRECT_URL="https://sso-auth.corp.beyondperimeter.com/oauth2/callback"
|
||||
export IDP_PROVIDER="google"
|
||||
export IDP_PROVIDER_URL="https://accounts.google.com"
|
||||
export IDP_CLIENT_ID="yyyy.apps.googleusercontent.com"
|
||||
export IDP_CLIENT_SECRET="xxxxxx"
|
||||
REDIRECT_URL="https://sso-auth.corp.beyondperimeter.com/oauth2/callback"
|
||||
IDP_PROVIDER="google"
|
||||
IDP_PROVIDER_URL="https://accounts.google.com"
|
||||
IDP_CLIENT_ID="yyyy.apps.googleusercontent.com"
|
||||
IDP_CLIENT_SECRET="xxxxxx"
|
||||
```
|
||||
|
||||
## Okta
|
||||
|
@ -78,11 +78,11 @@ Go to the **General** page of your app and scroll down to the **Client Credentia
|
|||
At this point, you will configure the integration from the Pomerium side. Your [environmental variables] should look something like this.
|
||||
|
||||
```bash
|
||||
export REDIRECT_URL="https://sso-auth.corp.beyondperimeter.com/oauth2/callback"
|
||||
export IDP_PROVIDER="okta"
|
||||
export IDP_PROVIDER_URL="https://dev-108295-admin.oktapreview.com/"
|
||||
export IDP_CLIENT_ID="0oairksnr0C0fEJ7l0h7"
|
||||
export IDP_CLIENT_SECRET="xxxxxx"
|
||||
REDIRECT_URL="https://sso-auth.corp.beyondperimeter.com/oauth2/callback"
|
||||
IDP_PROVIDER="okta"
|
||||
IDP_PROVIDER_URL="https://dev-108295-admin.oktapreview.com/"
|
||||
IDP_CLIENT_ID="0oairksnr0C0fEJ7l0h7"
|
||||
IDP_CLIENT_SECRET="xxxxxx"
|
||||
```
|
||||
|
||||
## Azure
|
||||
|
@ -151,11 +151,11 @@ At this point, you will configure the integration from the Pomerium side. Your [
|
|||
|
||||
```bash
|
||||
# Azure
|
||||
export REDIRECT_URL="https://sso-auth.corp.beyondperimeter.com/oauth2/callback"
|
||||
export IDP_PROVIDER="azure"
|
||||
export IDP_PROVIDER_URL="https://login.microsoftonline.com/{REPLACE-ME-SEE-ABOVE}/v2.0"
|
||||
export IDP_CLIENT_ID="REPLACE-ME"
|
||||
export IDP_CLIENT_SECRET="REPLACE-ME"
|
||||
REDIRECT_URL="https://sso-auth.corp.beyondperimeter.com/oauth2/callback"
|
||||
IDP_PROVIDER="azure"
|
||||
IDP_PROVIDER_URL="https://login.microsoftonline.com/{REPLACE-ME-SEE-ABOVE}/v2.0"
|
||||
IDP_CLIENT_ID="REPLACE-ME"
|
||||
IDP_CLIENT_SECRET="REPLACE-ME"
|
||||
|
||||
```
|
||||
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
|
||||
## Using Docker
|
||||
|
||||
1. Install [docker](https://docs.docker.com/install/).
|
||||
1. Install [docker-compose](https://docs.docker.com/compose/install/).
|
||||
1. Save Pomerium's example [`docker-compose.yml`]().
|
||||
1. Inspect the `docker-compose.yml` file. In addition to specifying Pomerium's configuration settings, and services, you'll see that there are other included services to give you a feel for how pomerium works.
|
||||
1. Update the compose file with your [identity provider] settings.
|
||||
1. Copy your subdomain's wild-card TLS certificate next to the compose file. See included [script] to generate one from LetsEncrypt.
|
||||
1. Run docker compose by runnig the command `$ docker-compose up`.
|
||||
1. You should see something like the following in your terminal and in your browser when you navigate to https://hello.corp.beyondperimeter.com or https://httpbin.corp.beyondperimeter.com where "corp.beyondperimeter.com" is your subdomain.
|
||||
* Install [docker](https://docs.docker.com/install/).
|
||||
* Install [docker-compose](https://docs.docker.com/compose/install/).
|
||||
* Save Pomerium's example [`docker-compose.yml`]().
|
||||
* Inspect the `docker-compose.yml` file. In addition to specifying Pomerium's configuration settings, and services, you'll see that there are other included services to give you a feel for how pomerium works.
|
||||
* Update the compose file with your [identity provider] settings.
|
||||
* Copy your subdomain's wild-card TLS certificate next to the compose file. See included [script] to generate one from LetsEncrypt.
|
||||
* Run docker compose by runnig the command `$ docker-compose up`.
|
||||
* If you navigate to `https://hello.corp.beyondperimeter.com` or `https://httpbin.corp.beyondperimeter.com` where "corp.beyondperimeter.com" is your subdomain in your browser, you should see something like the following in your browser and in your terminal.
|
||||
|
||||

|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue