ory-am/hydra

View on GitHub
quickstart-cockroach.yml

Summary

Maintainability
Test Coverage
###########################################################################
#######             FOR DEMONSTRATION PURPOSES ONLY                 #######
###########################################################################
#                                                                         #
# If you have not yet read the tutorial, do so now:                       #
#  https://www.ory.sh/docs/hydra/5min-tutorial                            #
#                                                                         #
# This set up is only for demonstration purposes. The login               #
# endpoint can only be used if you follow the steps in the tutorial.      #
#                                                                         #
###########################################################################
services:
  hydra-migrate:
    environment:
      - DSN=cockroach://root@cockroachd:26257/defaultdb?sslmode=disable&max_conns=20&max_idle_conns=4
  hydra:
    environment:
      - DSN=cockroach://root@cockroachd:26257/defaultdb?sslmode=disable&max_conns=20&max_idle_conns=4
  cockroachd:
    image: cockroachdb/cockroach:latest-v24.1
    ports:
      - "26257:26257"
    command: start-single-node --insecure
    networks:
      - intranet