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

29 lines
941 B
YAML
Raw Normal View History

2021-04-23 00:56:29 +00:00
# [Webtop](https://github.com/linuxserver/docker-webtop) - Alpine and Ubuntu
# 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
privileged: true # optional
environment:
# for GroupID
- PUID=${PUID:-1024}
# for UserID
- PGID=${PGID:-100}
# Specify a timezone to use for example Europe/Amsterdam
- TZ=${TZ:-Europe/Amsterdam}
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
- ${BASEDIR:-/volume1/docker}/webtop/var/run/docker.sock:/var/run/docker.sock # optional
ports:
# Web Desktop GUI
- 3000:3000
shm_size: "1gb" # optional
restart: unless-stopped