forked from modfin/twofer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (53 loc) · 1.69 KB
/
docker-compose.yml
File metadata and controls
60 lines (53 loc) · 1.69 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.0"
services:
twoferd:
build:
context: ./cmd/twoferd
dockerfile: Dockerfile.dev
environment:
PORT: "43210"
EID_BANKID_ENABLE: "true"
EID_BANKID_URL: "https://appapi2.test.bankid.com"
EID_BANKID_ROOT_CA_PEM_FILE: "./certs/bankid/x509rootca.pem"
EID_BANKID_CLIENT_CERT_FILE: "./certs/bankid/x509cert.pem"
EID_BANKID_CLIENT_KEY_FILE: "./certs/bankid/x509key.pem"
EID_FREJA_ENABLE: "true"
EID_FREJA_URL: "https://services.test.frejaeid.com"
EID_FREJA_ROOT_CA_PEM_FILE: "./certs/freja/x509rootca.pem"
EID_FREJA_CLIENT_CERT_FILE: "./certs/freja/x509cert.pem"
EID_FREJA_CLIENT_KEY_FILE: "./certs/freja/x509key.pem"
EID_FREJA_JWS_CERT_FILE: "./certs/freja/xJWScert.pem"
OTP_ENABLE: "true"
OTP_ENCRYPTION_KEY: |-
1:aes:Hg44JefQsFJMI1F0zhWMpw== 2:aes:ZS7MqnYbM3zL0ERjE0kFMWC5zuEwzFg5
WEBAUTHN_ENABLED: "true"
WEBAUTHN_RP_ID: "localhost"
WEBAUTHN_RP_ORIGIN: "http://localhost:8080"
WEBAUTHN_RP_DISPLAYNAME: "localhost"
WEBAUTHN_USER_VERIFICATION: "discouraged"
WEBAUTHN_HMAC_KEY: "SfWAuZk23Rrm2Wgvq2nf"
ports:
- "43210:43210"
volumes:
- .:/go/src/github.com/modfin/twofer:cached
- gopkg:/go/pkg:cached
webauthn-example:
build:
context: ./example
dockerfile: webauthn/Dockerfile.dev
ports:
- "8081:8080"
volumes:
- .:/go/src/github.com/modfin/twofer:cached
- gopkg:/go/pkg:cached
example:
build:
context: ./example
dockerfile: Dockerfile.dev
ports:
- "8080:8080"
volumes:
- .:/go/src/github.com/modfin/twofer:cached
- gopkg:/go/pkg:cached
volumes:
gopkg: