docker-bits/lsio/webtop/docker-compose.yaml
2023-04-09 00:54:06 +00:00

37 lines
1.3 KiB
YAML

# [Webtop](https://github.com/linuxserver/docker-webtop) - Alpine, Ubuntu,
# Fedora, and Arch based containers containing full desktop environments in
# officially supported flavors accessible via any modern web browser.
---
version: "2.1"
services:
webtop:
image: ghcr.io/linuxserver/webtop
container_name: webtop
environment:
# for UserID
- PUID=${PUID:-1024}
# for GroupID
- PGID=${PGID:-100}
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
- TZ=${TZ:-Europe/Amsterdam}
# Specify a subfolder to use with reverse proxies, IE `/subfolder/`
- SUBFOLDER=/ # optional
# String which will be used as page/tab title in the web browser.
- TITLE=Webtop # optional
volumes:
# abc users home directory
- ${BASEDIR:-/volume1/docker}/webtop/config:/config
# Docker Socket on the system, if you want to use Docker in the container
- /var/run/docker.sock:/var/run/docker.sock # optional
ports:
# Web Desktop GUI
- 3000:3000
# Web Desktop GUI HTTPS
- 3001:3001
devices:
# Add this for GL support (Linux hosts only)
- /dev/dri:/dev/dri # optional
shm_size: "1gb" # optional
restart: unless-stopped