-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-core.yml
142 lines (135 loc) · 3.8 KB
/
docker-compose-core.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
##All-Distros #####################################
# rootfs(20)
# hot : alpine(21), ubuntu(22), opensuse(23)
# musl: busybox(24), openwrt(25)
# deb : debian(26)
# rpm : fedora(27)
###################################################
version: '2.4'
services:
rootfs:
image: ${REPO:-}infrastlabs/x11-base:rootfs
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v '+ +++ ' && exit 1 || exit 0 "]
shm_size: 1g
hostname: x11-rootfs
privileged: true
network_mode: host
environment:
- VNC_OFFSET=30 #PORT_VNC=21081 PORT_SSH=21022 PORT_RDP=21089
- START_SESSION=${DESK:-startfluxbox} #startfluxbox openbox-session
# - SSH_PASS=headless
# - VNC_PASS=headless
# - VNC_PASS_RO=View123
# - L=zh_CN
# - TZ=Asia/Shanghai
volumes:
- /_ext:/_ext
- /opt:/opt
# - /:/mnt
alpine:
image: ${REPO:-}infrastlabs/x11-base:core-alpine
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v '+ +++ ' && exit 1 || exit 0 "]
shm_size: 1g
hostname: x11-alpine
privileged: true
network_mode: host
environment:
- VNC_OFFSET=31
- START_SESSION=${DESK:-startfluxbox}
volumes:
- /_ext:/_ext
- /opt:/opt
ubuntu:
image: ${REPO:-}infrastlabs/x11-base:core-ubuntu #20.04 22.04 24.04
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v '+ +++ ' && exit 1 || exit 0 "]
shm_size: 1g
hostname: x11-ubuntu
privileged: true
network_mode: host
environment:
- VNC_OFFSET=32
- START_SESSION=${DESK:-startfluxbox}
volumes:
- /_ext:/_ext
- /opt:/opt
opensuse:
image: ${REPO:-}infrastlabs/x11-base:core-opensuse
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v '+ +++ ' && exit 1 || exit 0 "]
shm_size: 1g
hostname: x11-opensuse
privileged: true
network_mode: host
environment:
- VNC_OFFSET=33
- START_SESSION=${DESK:-startfluxbox}
volumes:
- /_ext:/_ext
- /opt:/opt
busybox:
image: ${REPO:-}infrastlabs/x11-base:core-busybox
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v '+ +++ ' && exit 1 || exit 0 "]
shm_size: 1g
hostname: x11-busybox
privileged: true
network_mode: host
environment:
- VNC_OFFSET=34 #PORT_VNC=24081 PORT_SSH=24022 PORT_RDP=24089
- START_SESSION=${DESK:-startfluxbox}
volumes:
- /_ext:/_ext
- /opt:/opt
openwrt:
image: ${REPO:-}infrastlabs/x11-base:core-openwrt
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v '+ +++ ' && exit 1 || exit 0 "]
shm_size: 1g
hostname: x11-opwnwrt
privileged: true
network_mode: host
environment:
- VNC_OFFSET=35
- START_SESSION=${DESK:-startfluxbox}
volumes:
- /_ext:/_ext
- /opt:/opt
debian:
image: ${REPO:-}infrastlabs/x11-base:core-debian
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v '+ +++ ' && exit 1 || exit 0 "]
shm_size: 1g
hostname: x11-debian
privileged: true
network_mode: host
environment:
- VNC_OFFSET=36
- START_SESSION=${DESK:-startfluxbox}
volumes:
- /_ext:/_ext
- /opt:/opt
fedora:
image: ${REPO:-}infrastlabs/x11-base:core-fedora
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v '+ +++ ' && exit 1 || exit 0 "]
shm_size: 1g
hostname: x11-fedora
privileged: true
network_mode: host
environment:
- VNC_OFFSET=37
- START_SESSION=${DESK:-startfluxbox}
volumes:
- /_ext:/_ext
- /opt:/opt