forked from ory/hydra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quickstart-hsm.yml
24 lines (22 loc) · 1.06 KB
/
quickstart-hsm.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
###########################################################################
####### 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:
build:
context: .
dockerfile: .docker/Dockerfile-hsm
environment:
- HSM_ENABLED=true
- HSM_LIBRARY=/usr/lib/softhsm/libsofthsm2.so
- HSM_TOKEN_LABEL=hydra
- HSM_PIN=1234