-
Notifications
You must be signed in to change notification settings - Fork 1
/
quickstart-cockroach.yml
32 lines (28 loc) · 1.3 KB
/
quickstart-cockroach.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
###########################################################################
####### 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. #
# #
###########################################################################
version: '3.7'
services:
hydra-migrate:
image: oryd/hydra:v1.9.1
environment:
- DSN=cockroach://root@cockroachd:26257/defaultdb?sslmode=disable&max_conns=20&max_idle_conns=4
hydra:
image: oryd/hydra:v1.9.1
environment:
- DSN=cockroach://root@cockroachd:26257/defaultdb?sslmode=disable&max_conns=20&max_idle_conns=4
cockroachd:
image: cockroachdb/cockroach:v2.1.6
ports:
- "26257:26257"
command: start --insecure
networks:
- intranet