forked from imro2/docker-kmttg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (56 loc) · 1.09 KB
/
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
51
52
53
54
55
56
version: "3.8"
services:
kmttg:
image: drnay/kmttg:latest
init: true
volumes:
- kmttg_app:/home/kmttg/app
- kmttg_files:/files
- kmttg_out:/home/kmttg/out
environment:
- DISPLAY=novnc:0
- TZ=America/Los_Angeles
# ports:
# - "8181:8181"
depends_on:
- novnc
networks:
- x11
novnc:
image: theasp/novnc:latest
environment:
- TZ=America/Los_Angeles
# Adjust to your screen size
- DISPLAY_WIDTH=1600
- DISPLAY_HEIGHT=900
- RUN_FLUXBOX=yes
- RUN_XTERM=no
# ports:
# - "5900:5900"
# - "8080:8080"
networks:
- x11
sshd:
image: docker.io/panubo/sshd:1.5.0
volumes:
- ${HOME}/.ssh/id_rsa.pub:/etc/authorized_keys/alpine:ro
- sshd_keys:/etc/ssh/keys
- sshd_data:/data/
environment:
- SSH_USERS=alpine:1000:1000
- TCP_FORWARDING=true
- TZ=America/Los_Angeles
ports:
- "2222:22"
depends_on:
- novnc
networks:
- x11
networks:
x11:
volumes:
kmttg_app:
kmttg_files:
kmttg_out:
sshd_keys:
sshd_data: