-
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
41 lines (36 loc) · 926 Bytes
/
docker-compose.example.yml
File metadata and controls
41 lines (36 loc) · 926 Bytes
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
services:
gnome-docker:
container_name: gnome-docker
hostname: gnome-docker
build: ./host/gnome-docker
environment:
VNC_OPTION: -SecurityTypes=None -rfbunixpath /host/vncsocket -rfbport 5900
BEFORE_GNOME: "/extension/install.sh dev-guest"
ROOTMODE: false
XVFB_GPU: false
XVFB_SCREEN_WIDTH: 1080
RDP_OPTION: "-auth /monitors:0"
# Remote
ports:
# for rdp
- 3389:3389
# for vnc
- 5900:5900
# For systemd
security_opt:
- seccomp:unconfined
- apparmor:unconfined
cgroup: host
# Mounts
volumes:
# Systemd requirements
- type: tmpfs
target: /tmp
- type: tmpfs
target: /run
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup/system.slice:/sys/fs/cgroup/system.slice:rw
# Host dir
- ./host:/host:rw
- ./:/extension
- ./host/home:/home/gnome