mirror of https://github.com/ory/hydra
19 lines
1.0 KiB
YAML
19 lines
1.0 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. #
|
|
# #
|
|
###########################################################################
|
|
services:
|
|
hydra:
|
|
environment:
|
|
- SERVE_PUBLIC_CORS_ENABLED=true
|
|
- SERVE_PUBLIC_CORS_ALLOWED_METHODS=POST,GET,PUT,DELETE
|
|
- SERVE_ADMIN_CORS_ENABLED=true
|
|
- SERVE_ADMIN_CORS_ALLOWED_METHODS=POST,GET,PUT,DELETE
|