ory-am/hydra

View on GitHub
quickstart-hsm.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:
    build:
      context: .
      dockerfile: .docker/Dockerfile-hsm
    environment:
      - HSM_ENABLED=true
      - HSM_LIBRARY=/usr/lib/softhsm/libsofthsm2.so
      - HSM_TOKEN_LABEL=hydra
      - HSM_PIN=1234