-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
70 lines (65 loc) · 1.52 KB
/
docker-compose.yml
File metadata and controls
70 lines (65 loc) · 1.52 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
64
65
66
67
68
69
70
x-wootty-common: &wootty-common
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
environment:
WOOTTY_HOST: 0.0.0.0
WOOTTY_PORT: 8080
services:
wootty:
<<: *wootty-common
image: wootty:local-default
container_name: wootty-default
ports:
- "8080:8080"
wootty-bash:
<<: *wootty-common
image: wootty:local-bash
container_name: wootty-bash
profiles: ["bash"]
ports:
- "8081:8080"
environment:
WOOTTY_HOST: 0.0.0.0
WOOTTY_PORT: 8080
WOOTTY_COMMAND: /bin/bash
WOOTTY_COMMAND_ARGS: -l
wootty-ssh:
<<: *wootty-common
image: wootty:local-ssh
container_name: wootty-ssh
profiles: ["ssh"]
build:
context: .
dockerfile: Dockerfile
target: final-openssh
ports:
- "8082:8080"
environment:
WOOTTY_HOST: 0.0.0.0
WOOTTY_PORT: 8080
WOOTTY_COMMAND: /usr/bin/ssh
WOOTTY_COMMAND_ARGS: -o StrictHostKeyChecking=no user@example.com
wootty-retention:
<<: *wootty-common
image: wootty:local-retention
container_name: wootty-retention
profiles: ["retention"]
ports:
- "8083:8080"
environment:
WOOTTY_HOST: 0.0.0.0
WOOTTY_PORT: 8080
WOOTTY_DETACHED_TTL_MS: "259200000"
wootty-fake-pty:
<<: *wootty-common
image: wootty:local-fake-pty
container_name: wootty-fake-pty
profiles: ["test"]
ports:
- "8084:8080"
environment:
WOOTTY_HOST: 0.0.0.0
WOOTTY_PORT: 8080
WOOTTY_FAKE_PTY: "1"