mirror of https://github.com/ory/hydra
30 lines
1.3 KiB
YAML
30 lines
1.3 KiB
YAML
###########################################################################
|
|
####### 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:
|
|
environment:
|
|
- DSN=postgres://hydra:secret@postgresd:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4
|
|
hydra:
|
|
environment:
|
|
- DSN=postgres://hydra:secret@postgresd:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4
|
|
postgresd:
|
|
image: postgres:11.8
|
|
ports:
|
|
- "5432:5432"
|
|
environment:
|
|
- POSTGRES_USER=hydra
|
|
- POSTGRES_PASSWORD=secret
|
|
- POSTGRES_DB=hydra
|
|
networks:
|
|
- intranet
|