-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose-livecd.yml
107 lines (105 loc) · 2.64 KB
/
docker-compose-livecd.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
##Entry: web:10181, ssh:10122, rdp:10189###########
# cmate: http://192.168.0.x:10181
# cxfce: http://192.168.0.x:10281
# cinnamon: http://192.168.0.x:10381
# gnome: http://192.168.0.x:10481
# plasma: http://192.168.0.x:10581
###################################################
version: '2.4'
services:
cmate:
image: infrastlabs/docker-headless:cmate
restart: unless-stopped
shm_size: 1g
privileged: true
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
ports:
- "10181:10081"
- "10189:10089"
tmpfs:
- /run
- /run/lock
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /_ext:/_ext
- /:/mnt
cxfce:
image: infrastlabs/docker-headless:cxfce
restart: unless-stopped
shm_size: 1g
privileged: true
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
ports:
- "10281:10081"
- "10289:10089"
tmpfs:
- /run
- /run/lock
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /_ext:/_ext
- /:/mnt
cinna:
image: infrastlabs/docker-headless:cinna
restart: unless-stopped
shm_size: 1g
privileged: true
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
ports:
- "10381:10081"
- "10389:10089"
tmpfs:
- /run
- /run/lock
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /_ext:/_ext
- /:/mnt
gnome:
image: infrastlabs/docker-headless:gnome
restart: unless-stopped
shm_size: 1g
privileged: true #xrdp thinclient_drives
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
ports:
- "10481:10081"
- "10489:10089"
cap_add:
- SYS_BOOT
- SYS_ADMIN
# https://github.com/docker-archive/libcontainer/blob/master/SPEC.md#security
# $ cat ct_caps.txt2 |cut -d' ' -f1 |grep -v "^$" |sort |sed "s/CAP_/- /g"
tmpfs:
- /run
- /run/lock
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /_ext:/_ext
- /:/mnt
plasma:
image: infrastlabs/docker-headless:plasma
restart: unless-stopped
shm_size: 1g
privileged: true
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
ports:
- "10581:10081"
- "10589:10089"
# - "10522:10022"
tmpfs:
- /run
- /run/lock
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /_ext:/_ext
- /:/mnt