Workflow update

pull/2/head
technorabilia 3 years ago
parent 60d00bfb64
commit 7e3994de91

@ -0,0 +1,28 @@
# [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

@ -0,0 +1,17 @@
# [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.
source ./.env
docker run -d \
--name=webtop \
--privileged `# optional` \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
-p 3000:3000 `# Web Desktop GUI` \
-v ${BASEDIR:-/volume1/docker}/webtop/config:/config `# abc users home directory` \
-v ${BASEDIR:-/volume1/docker}/webtop/var/run/docker.sock:/var/run/docker.sock `# optional` `# Docker Socket on the system, if you want to use Docker in the container` \
--shm-size="1gb" `# optional` \
--restart unless-stopped \
ghcr.io/linuxserver/webtop

@ -0,0 +1,4 @@
ln -s ../docker-env.cfg ./.env
. ./.env
mkdir -p ${BASEDIR:-/volume1/docker}/webtop/config
mkdir -p ${BASEDIR:-/volume1/docker}/webtop/var/run/docker.sock `#optional`
Loading…
Cancel
Save