Skip to content

Instantly share code, notes, and snippets.

View djamseed's full-sized avatar

Djamseed Khodabocus djamseed

View GitHub Profile

CockroachDB and Docker Compose

This is the first in a series of tutorials on CockroachDB and Docker Compose

  • Information on CockroachDB can be found here.
  • Information on Docker Compose can be found here
  1. Install Docker Desktop

Because we already have an official CockroachDB docker image, we will use that in our docker-compose.yml file. We recommend you use one of the current tags instead of latest.

import sys
import webbrowser
def google_search(query):
base_url = "https://www.google.com/search?q="
query_string = query.replace(" ", "+")
# show results from the sites below
sites = ["dev.to", "github.com", "medium.com", "stackoverflow.com", "youtube.com"]