-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (40 loc) · 1.38 KB
/
docker-compose.yml
File metadata and controls
49 lines (40 loc) · 1.38 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
name: tos-webtop
services:
webtop:
# Uses the specific Ubuntu-based MATE tag from LinuxServer.io
image: ${DOCKER_URI:-ghcr.io/gitricko/tos-webtop:latest}
container_name: webtop-mate
# Optional: Needed for some modern GUI apps to function properly on older hosts/kernels
# security_opt:
# - seccomp:unconfined
environment:
# Set your User ID and Group ID to match the host user (run 'id $USER' in your terminal)
- PUID=1000
- PGID=1000
# Set your timezone
- TZ=America/New_York
- SUBFOLDER=/ # Optional: for reverse proxies
volumes:
# Change /path/to/data to the directory on your host for persistent config/files
- tos-webtop-config:/config
- .:/codespace
# Uncomment the next line if you want to run Docker inside Webtop
# - /var/run/docker.sock:/var/run/docker.sock
ports:
# Access the Webtop GUI on port 3000 (http)
- 3000:3000
# Optional: Access the Webtop GUI on port 3001 (https)
- 3001:3001
# Recommended to prevent modern web browsers from crashing
shm_size: "1gb"
# Ensures the container restarts automatically unless you explicitly stop it
restart: unless-stopped
networks:
- tos-webtop-net
networks:
tos-webtop-net:
driver: bridge
volumes:
tos-webtop-config:
external: false
name: tos-webtop-config