- Notifications
You must be signed in to change notification settings - Fork928
chore: use docker host in docker-compose#1592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
version: "3.9" | ||
services: | ||
coder: | ||
image: ghcr.io/coder/coder:v${CODER_VERSION:-0.5.10}-${ARCH:-amd64} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I wishdependabot/dependabot-core#390 existed. Maybe we use Renovate or another tool? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I think we've even got There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. it seems the release was deleted:https://github.com/coder/coder/releases/ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Fair point then! | ||
ports: | ||
- "7080:7080" | ||
environment: | ||
CODER_PG_CONNECTION_URL: "postgresql://${POSTGRES_USER:-username}:${POSTGRES_PASSWORD:-password}@database/${POSTGRES_DB:-coder}?sslmode=disable" | ||
CODER_ADDRESS: "0.0.0.0:7080" | ||
# You'll need to set CODER_ACCESS_URL to an | ||
# externally-reachable IP to use non-Docker examples! | ||
CODER_ACCESS_URL: "${CODER_ACCESS_URL:-http://host.docker.internal:7080}" | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
depends_on: | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -42,9 +42,6 @@ provider "docker" { | ||
} | ||
provider "coder" { | ||
} | ||
data "coder_workspace" "me" { | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -49,9 +49,6 @@ provider "docker" { | ||
} | ||
provider "coder" { | ||
} | ||
data "coder_workspace" "me" { | ||