-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
28 lines (26 loc) · 832 Bytes
/
Copy pathcompose.yaml
File metadata and controls
28 lines (26 loc) · 832 Bytes
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
name: localssh
services:
frontend:
image: ghcr.io/bradsec/localssh-frontend:${LOCALSSH_VERSION:-latest}
build:
context: .
args:
VERSION: ${LOCALSSH_VERSION:-development}
restart: unless-stopped
ports:
- "${BIND_ADDRESS:-127.0.0.1}:${FRONTEND_PORT:-9080}:80"
depends_on:
- relay
relay:
image: ghcr.io/bradsec/localssh-relay:${LOCALSSH_VERSION:-latest}
build:
context: relay
args:
VERSION: ${LOCALSSH_VERSION:-development}
restart: unless-stopped
environment:
ALLOWED_HOSTS: ${ALLOWED_HOSTS:-*}
ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-http://localhost:9080,http://127.0.0.1:9080}
ALLOWED_PORTS: ${ALLOWED_PORTS:-22}
MAX_SESSIONS: ${MAX_SESSIONS:-256}
TARGET_CONNECT_TIMEOUT_MS: ${TARGET_CONNECT_TIMEOUT_MS:-10000}