mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-01 19:36:32 +02:00
* docs: add nginx example Co-authored-by: bobby <1544881+desimone@users.noreply.github.com>
24 lines
592 B
YAML
24 lines
592 B
YAML
version: "3"
|
|
services:
|
|
nginx:
|
|
image: nginx
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./httpbin.conf:/etc/nginx/conf.d/httpbin.conf
|
|
- ./pomerium.conf:/etc/nginx/conf.d/pomerium.conf
|
|
- ./_wildcard.localhost.pomerium.io.pem:/etc/nginx/nginx.pem
|
|
- ./_wildcard.localhost.pomerium.io-key.pem:/etc/nginx/nginx-key.pem
|
|
|
|
httpbin:
|
|
image: kennethreitz/httpbin:latest
|
|
expose:
|
|
- 80
|
|
pomerium:
|
|
image: pomerium/pomerium:latest
|
|
volumes:
|
|
- ./config.yaml:/pomerium/config.yaml:ro
|
|
expose:
|
|
- 80
|