-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdocker-compose-unix.yml
58 lines (58 loc) · 2.36 KB
/
docker-compose-unix.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.6'
services:
pkcs11proxyd-unix:
image: "pkcs11proxyd-unix:${FLAVOR}"
build:
context: .
dockerfile: src/tests/integration/Dockerfile.debian-integration-unix
args:
dist: "${DIST}"
flavor: "${FLAVOR}"
volumes:
- ./src/tests/integration/filter.conf:/build/src/tests/integration/filter.conf:ro
- ./src/tests/integration/pkcs11proxyd-unix.conf:/build/src/tests/integration/pkcs11proxyd.conf:ro
- vol-pkcs11proxyd-unix:/var/run/
entrypoint: '/usr/local/bin/pkcs11proxyd -fg -conf /build/src/tests/integration/pkcs11proxyd.conf'
pkcs11proxydtls-unix:
image: "pkcs11proxydtls-unix:${FLAVOR}"
build:
context: .
dockerfile: src/tests/integration/Dockerfile.debian-integration-unix-tls
args:
dist: "${DIST}"
flavor: "${FLAVOR}"
volumes:
- ./src/tests/integration/filter.conf:/build/src/tests/integration/filter.conf:ro
- ./src/tests/integration/pkcs11proxyd-unix-tls.conf:/build/src/tests/integration/pkcs11proxyd.conf:ro
- ./src/tests/integration/certs/ca.pem:/build/src/tests/integration/ca.pem:ro
- ./src/tests/integration/certs/server.pem:/build/src/tests/integration/server.pem:ro
- ./src/tests/integration/certs/server-key.pem:/build/src/tests/integration/server-key.pem:ro
- vol-pkcs11proxydtls-unix:/var/run/
entrypoint: '/usr/local/bin/pkcs11proxyd -fg -conf /build/src/tests/integration/pkcs11proxyd.conf'
client-unix:
image: "pkcs11proxyd-unix:${FLAVOR}"
depends_on:
- "pkcs11proxyd-unix"
volumes:
- vol-pkcs11proxyd-unix:/var/run/
environment:
- PKCS11PROXY_LIBNAME=softhsm
entrypoint: /build/src/tests/integration/run-tests.sh
client-unix-tls:
image: "pkcs11proxydtls-unix:${FLAVOR}"
depends_on:
- "pkcs11proxydtls-unix"
environment:
- PKCS11PROXY_LIBNAME=softhsm
- PKCS11PROXY_CA_FILE=/tmp/ca.pem
- PKCS11PROXY_CERT_FILE=/tmp/client.pem
- PKCS11PROXY_PRIVKEY_FILE=/tmp/client-key.pem
volumes:
- vol-pkcs11proxydtls-unix:/var/run/
- ./src/tests/integration/certs/ca.pem:/tmp/ca.pem:ro
- ./src/tests/integration/certs/client.pem:/tmp/client.pem:ro
- ./src/tests/integration/certs/client-key.pem:/tmp/client-key.pem:ro
entrypoint: /build/src/tests/integration/run-tests.sh
volumes:
vol-pkcs11proxyd-unix:
vol-pkcs11proxydtls-unix: