Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bpmct/coder-with-teleport
Experiments running Coder workspace with Teleport
https://github.com/bpmct/coder-with-teleport
Last synced: 9 days ago
JSON representation
Experiments running Coder workspace with Teleport
- Host: GitHub
- URL: https://github.com/bpmct/coder-with-teleport
- Owner: bpmct
- Created: 2022-01-11T01:41:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-04T17:13:38.000Z (almost 3 years ago)
- Last Synced: 2024-10-27T03:46:27.622Z (about 2 months ago)
- Language: Dockerfile
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# coder-teleport-example
An example Coder workspace with support for [Teleport](https://goteleport.com/teleport/download/)
## Open it
```sh
1) Navigate to your Coder deployment
2) New Workspace > From templateRepository URL: https://github.com/bpmct/bookshop-monorepo
Branch: main (default)
Template: ./.coder/coder.yaml (default)
```## Customize it
1. Fork repo
1. Add [secrets](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) to the repository with your [Docker Hub](https://hub.docker.com/) account details:DOCKERHUB_USERNAME (your username for Docker Hub)
DOCKERHUB_TOKEN (your password or token)1. Rename `username/projectname` in [.coder/coder.yaml](https://github.com/bpmct/coder-project-template/blob/main/.coder/coder.yaml#L5) and `projectname` in [.github.workflows/build-image.yaml](https://github.com/bpmct/coder-project-template/blob/main/.github/workflows/build-image.yaml#L32). Username should be the same as your DOCKERHUB_USERNAME you set above.
1. Push to `main` (to build the image).
1. Add the image into Coder. (repository: your value for `username/projectname` tag: `latest`)
1. If you haven't already, enable Workspace Templates under Manage -> Admin -> Templates
1. You're done! 🎉 Create a new workspace from this template in the Ui, or create an [embeddable button/link](https://coder.com/docs/admin/templates) for others to clone.
- The "project repository" can also be this repository if you want the workspace to be defined in the same place. I often do this.
---
To modify the image or workspace definition, simply push to `main` . GitHub actions will re-build the image and Coder will notify developers when an update is available for their workspace.
Check out this video for an overview on how this works: https://youtu.be/BrZhBJtjkYk?t=104