mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
11 lines
523 B
Desktop File
11 lines
523 B
Desktop File
# https://github.com/mviereck/x11docker/issues/154
|
|
[Unit]
|
|
Description=run bevy with x11docker
|
|
|
|
[Service]
|
|
# TODO: pre job pull down secrets, pull env vars also?
|
|
ExecStart=x11docker -D --xvfb --network --gpu=no --printenv --fallback=no --home=~/shared-with-x-serv --size=720x480 -- -e NVIDIA_DRIVER_CAPABILITIES=all --runtime=nvidia --gpus all --env-file /home/ubuntu/storyteller/storyteller-bevy/deploy/secrets.env -- docker.io/library/xfce-bevy-ubuntu-local /storyteller/inference-job
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|