docker-bits/lsio/webtop/docker-run.sh

21 lines
1.2 KiB
Bash
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
source ./.env
docker run -d \
--name=webtop \
2022-04-02 00:45:58 +00:00
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
2023-02-26 14:51:38 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
2021-06-26 00:44:13 +00:00
-e SUBFOLDER=/ `# optional` `# Specify a subfolder to use with reverse proxies, IE `/subfolder/`` \
2022-10-20 01:13:39 +00:00
-e TITLE=Webtop `# optional` `# String which will be used as page/tab title in the web browser.` \
2021-04-23 00:56:29 +00:00
-p 3000:3000 `# Web Desktop GUI` \
2023-04-09 00:54:06 +00:00
-p 3001:3001 `# Web Desktop GUI HTTPS` \
2021-04-23 00:56:29 +00:00
-v ${BASEDIR:-/volume1/docker}/webtop/config:/config `# abc users home directory` \
2021-07-15 00:46:59 +00:00
-v /var/run/docker.sock:/var/run/docker.sock `# optional` `# Docker Socket on the system, if you want to use Docker in the container` \
2022-03-14 00:44:31 +00:00
--device /dev/dri:/dev/dri `# optional` `# Add this for GL support (Linux hosts only)` \
2021-04-23 00:56:29 +00:00
--shm-size="1gb" `# optional` \
--restart unless-stopped \
ghcr.io/linuxserver/webtop