Sign inSign up

marcozac/crdb-gh

By marcozac

•Updated almost 4 years ago

Image
0

303

marcozac/crdb-gh repository overview

Unofficial CockroachDB⁠ image to start an insecure, in-memory, single node.

The most common use is for testing where it is not possible to provide custom arguments (e.g. GitHub Actions services).

⁠Example

on:
  pull_request:

jobs:
  example:
    runs-on: ubuntu-latest
    env:
      DB_URL: postgres://root@localhost:26257/defaultdb?sslmode=disable
    services:
      crdb:
        image: marcozac/crdb-gh:latest
        ports:
          - 8080:8080
          - 26257:26257
        options: >-
          --health-cmd "curl http://localhost:8080/health"
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5

Tag summary

Content type

Image

Digest

sha256:deb1c1b83…

Size

132.2 MB

Last updated

almost 4 years ago

docker pull marcozac/crdb-gh