https://github.com/bpmct/containers-in-coder
Launch a workspace with Docker and docker-compose projects
https://github.com/bpmct/containers-in-coder
Last synced: about 1 year ago
JSON representation
Launch a workspace with Docker and docker-compose projects
- Host: GitHub
- URL: https://github.com/bpmct/containers-in-coder
- Owner: bpmct
- Created: 2021-04-28T14:45:57.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-29T13:14:16.000Z (about 5 years ago)
- Last Synced: 2025-02-07T12:49:01.481Z (over 1 year ago)
- Language: Java
- Size: 906 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# containers in Coder
Launch a Coder workspace that includes:
* Docker
* docker-compose
* Sample project with tomcat and mysql containers (uses [dmulligan/docker-example-tomcat-mysql](https://github.com/dmulligan/docker-example-tomcat-mysql))
* The tomcat and mysql images cached/pre-pulled for faster startup on `docker-compose up`
Watch this video to see how a developer can launch this project: https://www.youtube.com/watch?v=JhfTWDtWa2g
## To start:
1. [](https://dev.coding.pics/wac/build?project_oauth_service=github&template_oauth_service=github&project_url=git@github.com:bpmct/containers-in-coder.git&template_url=https://github.com/bpmct/containers-in-coder.git&template_ref=main&template_filepath=.coder/coder.yaml)
(change to your deployment URL)
1. Open the workspace and run the following command:
```sh
docker compose up
## Modifying the workspace:
Modify the docker-compose file to add additional services/config. The Dev URLs can be configured manually or in `.coder/coder.yaml` . Users can `git pull` and use the latest version.
To add additional dependencies to the workspace (ex. python3), add them in `.coder/img/Dockerfile` .
Once the image or workspace template is modified, users will be notified there is an update.