services: scanslicer: build: context: . image: scanslicer:latest user: "${UID:-1000}:${GID:-1000}" environment: HOME: /tmp XDG_CACHE_HOME: /tmp/.cache XDG_CONFIG_HOME: /tmp/.config XDG_RUNTIME_DIR: /tmp WAYLAND_DISPLAY: "${WAYLAND_DISPLAY:-wayland-0}" QT_QPA_PLATFORMTHEME: "${QT_QPA_PLATFORMTHEME:-gtk3}" DBUS_SESSION_BUS_ADDRESS: "unix:path=/tmp/bus" XDG_CURRENT_DESKTOP: "${XDG_CURRENT_DESKTOP:-}" GTK_THEME: "${GTK_THEME:-Adwaita:dark}" NO_AT_BRIDGE: "${NO_AT_BRIDGE:-1}" volumes: - ./:/work - ${HOME}:/host-home - scanslicer-cache:/tmp/.cache - ${XDG_RUNTIME_DIR:-/tmp}/${WAYLAND_DISPLAY:-wayland-0}:/tmp/${WAYLAND_DISPLAY:-wayland-0} - ${XDG_RUNTIME_DIR:-/tmp}/bus:/tmp/bus working_dir: /work stdin_open: true tty: true volumes: scanslicer-cache: