Workflow update

main
technorabilia 2 years ago
parent 579f0229ac
commit 7a155dce3d

@ -0,0 +1,33 @@
# [Blender](https://www.blender.org/) is a free and open-source 3D computer
# graphics software toolset used for creating animated films, visual effects,
# art, 3D printed models, motion graphics, interactive 3D applications, virtual
# reality, and computer games. **This image does not support GPU rendering out
# of the box only accelerated workspace experience**
---
version: "2.1"
services:
blender:
image: ghcr.io/linuxserver/blender
container_name: blender
environment:
# for GroupID
- PUID=${PUID:-1024}
# for UserID
- PGID=${PGID:-100}
# Specify a timezone to use for example Europe/Amsterdam
- TZ=${TZ:-Europe/Amsterdam}
# Specify a subfolder to use with reverse proxies, IE `/subfolder/`
- SUBFOLDER=/ # optional
# See the keyboard layouts section for more information and options.
- KEYBOARD=en-us-qwerty # optional
volumes:
# Users home directory in the container, stores local files and settings
- ${BASEDIR:-/volume1/docker}/blender/config:/config
ports:
# Blender desktop gui
- 3000:3000
devices:
# Add this for hardware acceleration (Linux hosts only)
- /dev/dri:/dev/dri # optional
restart: unless-stopped

@ -0,0 +1,19 @@
# [Blender](https://www.blender.org/) is a free and open-source 3D computer
# graphics software toolset used for creating animated films, visual effects,
# art, 3D printed models, motion graphics, interactive 3D applications, virtual
# reality, and computer games. **This image does not support GPU rendering out
# of the box only accelerated workspace experience**
source ./.env
docker run -d \
--name=blender \
-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` \
-e SUBFOLDER=/ `# optional` `# Specify a subfolder to use with reverse proxies, IE `/subfolder/`` \
-e KEYBOARD=en-us-qwerty `# optional` `# See the keyboard layouts section for more information and options.` \
-p 3000:3000 `# Blender desktop gui` \
-v ${BASEDIR:-/volume1/docker}/blender/config:/config `# Users home directory in the container, stores local files and settings` \
--device /dev/dri:/dev/dri `# optional` `# Add this for hardware acceleration (Linux hosts only)` \
--restart unless-stopped \
ghcr.io/linuxserver/blender

@ -0,0 +1,3 @@
ln -s ../docker-env.cfg ./.env
. ./.env
mkdir -p ${BASEDIR:-/volume1/docker}/blender/config

@ -27,5 +27,8 @@ services:
ports:
# Web Desktop GUI
- 3000:3000
devices:
# Add this for GL support (Linux hosts only)
- /dev/dri:/dev/dri # optional
shm_size: "1gb" # optional
restart: unless-stopped

@ -13,6 +13,7 @@ docker run -d \
-p 3000:3000 `# Web Desktop GUI` \
-v ${BASEDIR:-/volume1/docker}/webtop/config:/config `# abc users home directory` \
-v /var/run/docker.sock:/var/run/docker.sock `# optional` `# Docker Socket on the system, if you want to use Docker in the container` \
--device /dev/dri:/dev/dri `# optional` `# Add this for GL support (Linux hosts only)` \
--shm-size="1gb" `# optional` \
--restart unless-stopped \
ghcr.io/linuxserver/webtop

Loading…
Cancel
Save