Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 26 days ago
JSON representation

Launch a workspace with Docker and docker-compose projects

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. [![Open in Coder](https://cdn.coder.com/embed-button.svg)](https://dev.coding.pics/wac/build?project_oauth_service=github&template_oauth_service=github&[email protected]: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.