Skip to content

Commit 833ca53

Browse files
authored
chore: document docker-compose development workflow (#16618)
1 parent 22fa71d commit 833ca53

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,15 @@ Use the following `make` commands and scripts in development:
106106
- The default user is `admin@coder.com` and the default password is
107107
`SomeSecurePassword!`
108108

109+
### Running Coder using docker-compose
110+
111+
This mode is useful for testing HA or validating more complex setups.
112+
113+
- Generate a new image from your HEAD: `make build/coder_$(./scripts/version.sh)_$(go env GOOS)_$(go env GOARCH).tag`
114+
- This will output the name of the new image, e.g.: `ghcr.io/coder/coder:v2.19.0-devel-22fa71d15-amd64`
115+
- Inject this image into docker-compose: `CODER_VERSION=v2.19.0-devel-22fa71d15-amd64 docker-compose up` (*note the prefix `ghcr.io/coder/coder:` was removed*)
116+
- To use Docker, determine your host's `docker` group ID with `getent group docker | cut -d: -f3`, then update the value of `group_add` and uncomment
117+
109118
### Deploying a PR
110119

111120
> You need to be a member or collaborator of the of

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy