-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (47 loc) · 1020 Bytes
/
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
version: '3'
services:
console-manager:
image: console-manager
environment:
- TZ=Etc/UTC
- DEBUG=1
- SSH_PORT=8888
- FRONTEND_PORT=4000
- AGENT_PORT=9999
- WRITE_BUFFER_SIZE=1024
- READ_BUFFER_SIZE=1024
- AGENT_TERMINAL_WAIT_TIMEOUT=5
ports:
- "8888:8888"
- "9999:9999"
- "4000:4000"
console-agent-1:
image: console-agent
environment:
- TZ=Etc/UTC
- SERVER_AGENT=console-manager:9999
- SERVER_SSH=console-manager:8888
- SSH_PORT=:22
- DEBUG=1
- TOKEN=0000000001
- SSH_PASSWORD=pass2
- SSH_USER=root
links:
- console-manager
depends_on:
- console-manager
console-agent-2:
image: console-agent
environment:
- TZ=Etc/UTC
- SERVER_AGENT=console-manager:9999
- SERVER_SSH=console-manager:8888
- SSH_PORT=:22
- DEBUG=1
- TOKEN=0000000002
- SSH_PASSWORD=pass2
- SSH_USER=root
links:
- console-manager
depends_on:
- console-manager