-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
63 lines (62 loc) · 1.57 KB
/
compose.yml
File metadata and controls
63 lines (62 loc) · 1.57 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
61
62
63
services:
testbed:
image: naoso5/test-sshd
ports:
- "4100:22"
container_name: testbed
# Enable SSH agent forwarding in the testbed
volumes:
- ssh-agent:/ssh-agent
environment:
- SSH_AUTH_SOCK=/ssh-agent/socket
testbed2:
image: naoso5/test-sshd
ports:
- "4101:22"
container_name: testbed2
# Enable SSH agent forwarding in the testbed2
volumes:
- ssh-agent:/ssh-agent
environment:
- SSH_AUTH_SOCK=/ssh-agent/socket
tester:
build:
context: .
dockerfile: Dockerfile
environment:
TEST_USER: testuser
TEST_PW: passw0rd
TEST_HOST: testbed
SSH_AUTH_SOCK: /ssh-agent/socket
working_dir: /work/ssh-client-wrapper
volumes:
- ssh-agent:/ssh-agent
command: bash -c "mkdir /root/.ssh 2>/dev/null; npm run mocha"
tester-bullseye:
build:
context: .
dockerfile: Dockerfile-bullseye
environment:
TEST_USER: testuser
TEST_PW: passw0rd
TEST_HOST: testbed
SSH_AUTH_SOCK: /ssh-agent/socket
working_dir: /work/ssh-client-wrapper
volumes:
- ssh-agent:/ssh-agent
command: bash -c "mkdir /root/.ssh 2>/dev/null; npm run mocha"
tester-buster:
build:
context: .
dockerfile: Dockerfile-buster
environment:
TEST_USER: testuser
TEST_PW: passw0rd
TEST_HOST: testbed
SSH_AUTH_SOCK: /ssh-agent/socket
working_dir: /work/ssh-client-wrapper
volumes:
- ssh-agent:/ssh-agent
command: bash -c "mkdir /root/.ssh 2>/dev/null; npm run mocha"
volumes:
ssh-agent: