-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
58 lines (52 loc) · 1.52 KB
/
docker-compose.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
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
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"
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"
PWD_ENABLE: "true"
PWD_ALG: 3
PWD_ENCRYPTION_KEY: |-
1:aes:Hg44JefQsFJMI1F0zhWMpw== 2:aes:ZS7MqnYbM3zL0ERjE0kFMWC5zuEwzFg5
ports:
- "43210:43210"
- "3035:8080"
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: