docker-bits/lsio/webtop/docker-compose.yaml

37 lines
1.3 KiB
YAML
Raw Normal View History

2022-10-25 01:21:53 +00:00
# [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.
2021-04-23 00:56:29 +00:00
---
version: "2.1"
services:
webtop:
image: ghcr.io/linuxserver/webtop
container_name: webtop
environment:
# for UserID
2022-04-02 00:45:58 +00:00
- PUID=${PUID:-1024}
# for GroupID
2021-04-23 00:56:29 +00:00
- PGID=${PGID:-100}
2023-02-12 01:01:09 +00:00
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
2021-04-23 00:56:29 +00:00
- TZ=${TZ:-Europe/Amsterdam}
2021-06-26 00:44:13 +00:00
# Specify a subfolder to use with reverse proxies, IE `/subfolder/`
- SUBFOLDER=/ # optional
2022-02-07 00:35:51 +00:00
# See the keyboard layouts section for more information and options.
- KEYBOARD=en-us-qwerty # optional
2022-10-20 01:13:39 +00:00
# String which will be used as page/tab title in the web browser.
- TITLE=Webtop # optional
2021-04-23 00:56:29 +00:00
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
2021-07-15 00:46:59 +00:00
- /var/run/docker.sock:/var/run/docker.sock # optional
2021-04-23 00:56:29 +00:00
ports:
# Web Desktop GUI
- 3000:3000
2022-03-14 00:44:31 +00:00
devices:
# Add this for GL support (Linux hosts only)
- /dev/dri:/dev/dri # optional
2021-04-23 00:56:29 +00:00
shm_size: "1gb" # optional
restart: unless-stopped