mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-31 18:07:17 +02:00
docs : update readme and quickstart
This commit is contained in:
parent
ae4fd837a0
commit
b312357c01
2 changed files with 13 additions and 9 deletions
|
@ -3,22 +3,26 @@
|
|||
|
||||
## Using Docker
|
||||
|
||||
* 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.
|
||||
* Install [docker] and [docker-compose].
|
||||
* Grab Pomerium's included example [`docker-compose.yml`](https://raw.githubusercontent.com/pomerium/pomerium/master/docker-compose.yml) directly or by cloning the repository.
|
||||
* Update `docker-compose.yml` to match your [identity provider] settings.
|
||||
* Copy your subdomain's wild-card TLS certificate next to the compose file. If you don't have one handy, the included [script] generates 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.
|
||||
* Included with Pomerium is two test apps [helloworld] and [httpbin]. Pomerium is configured to delegate access to both.
|
||||
* Navigate to `hello.corp.example.com` or `httpbin.corp.example.com`. You should see something like the following in your browser and in your terminal.
|
||||
|
||||

|
||||
|
||||
[](https://asciinema.org/a/tfbSWkUZgMRxHAQDqmcjjNwUg)
|
||||
|
||||
[docker-compose]: (https://docs.docker.com/compose/install/)
|
||||
[docker]: https://docs.docker.com/install/
|
||||
[download]: https://github.com/pomerium/pomerium/releases
|
||||
[kms]: https://en.wikipedia.org/wiki/Key_management
|
||||
[certbot]: https://certbot.eff.org/docs/install.html
|
||||
[script]: https://github.com/pomerium/pomerium/blob/master/scripts/generate_wildcard_cert.sh
|
||||
[source]: https://github.com/pomerium/pomerium#start-developing
|
||||
[identity provider]: ./identity-providers.md
|
||||
[identity provider]: ./identity-providers.md
|
||||
[helloworld]: https://hub.docker.com/r/tutum/hello-world
|
||||
[httpbin]: https://httpbin.org/
|
||||
[LetsEncrypt]: https://letsencrypt.org/
|
Loading…
Add table
Add a link
Reference in a new issue