Skip to content

How to use Cockroach as Github Action's Container Service? #83749

Answered by shawntoffel
keinsell asked this question in Q&A
Discussion options

You must be logged in to vote

This is now possible in >=24.2 via the COCKROACH_ARGS environment variable.

services:
  cockroach:
    image: cockroachdb/cockroach
    env:
      COCKROACH_ARGS: "start-single-node --insecure"
    options: >-
      --health-cmd "curl -f http://localhost:8080/health?ready=1"

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by keinsell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants