-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathdocker-compose.smoke.yml
More file actions
37 lines (36 loc) · 1.18 KB
/
docker-compose.smoke.yml
File metadata and controls
37 lines (36 loc) · 1.18 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
services:
test-bastion:
build:
context: ./smoke/bastion
environment:
BASTION_USER: tunnel
BASTION_AUTHORIZED_KEYS_PATH: /ssh-material/smoke_authorized_keys
healthcheck:
test: ["CMD-SHELL", "nc -z 127.0.0.1 2222 >/dev/null 2>&1 || exit 1"]
interval: 2s
timeout: 2s
retries: 30
start_period: 2s
volumes:
- ./data/ssh:/ssh-material:ro
reverse-ssh:
depends_on:
browser-node:
condition: service_healthy
controller:
condition: service_started
test-bastion:
condition: service_healthy
environment:
REVERSE_SSH_HOST: test-bastion
REVERSE_SSH_PORT: 2222
REVERSE_SSH_USER: tunnel
REVERSE_SSH_KEY_PATH: /ssh/smoke_id_ed25519
REVERSE_SSH_KNOWN_HOSTS_PATH: /ssh/smoke_known_hosts
REVERSE_SSH_REMOTE_BIND_ADDRESS: 127.0.0.1
REVERSE_SSH_REMOTE_API_PORT: 18000
REVERSE_SSH_REMOTE_NOVNC_PORT: 16080
REVERSE_SSH_INFO_INTERVAL_SECONDS: 5
REVERSE_SSH_STALE_AFTER_SECONDS: 20
REVERSE_SSH_PUBLIC_API_URL: http://test-bastion:18000
REVERSE_SSH_PUBLIC_TAKEOVER_URL: http://test-bastion:16080/vnc.html?autoconnect=true&resize=scale