version: '3' services: mycroft: image: mycroft container_name: mycroft hostname: mycroft restart: always ports: - 8181:8181 volumes: - ./persisted:/root/.mycroft - ./config:/root/.config/mycroft/ - ./skills:/opt/mycroft/skills - ${HOME}/.config/pulse/cookie:/root/.config/pulse/cookie - ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native - /etc/machine-id:/etc/machine-id - /var/lib/dbus:/var/lib/dbus environment: - PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native - XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR} devices: - /dev/snd:/dev/snd # - /dev/${SYSTEM_DEVICE_TTY}:/dev/${SYSTEM_DEVICE_TTY} volumes: skills: driver: local