docker-compose example with Pomerium and code-server. Requirements:
-
Docker and docker-compose
- Clone this project
- Copy
config.sample.yaml
toconfig.yaml
- Edit config.yaml with values for an identity provider and allowed users
- Run
./generate-cert.sh
to make a certificate on behalf of localhost - Start Pomerium and code-server:
docker-compose up
- Access via
https://code.localhost.pomerium.io/
See the Pomerium docs for more examples and troubleshooting.
Original guide: https://pomerium.io/guides/vs-code-server.html#background