services: app: image: ${BUB_IMAGE:-ghcr.io/bubbuild/bub:latest} build: context: . dockerfile: Dockerfile container_name: bub env_file: - .env environment: BUB_HOME: /data volumes: - ${BUB_WORKSPACE_PATH:-.}:/workspace - ${BUB_HOME_HOST:-${HOME}/.bub}:/data - ${BUB_AGENT_HOME:-${HOME}/.agents}:/root/.agents stdin_open: true tty: true restart: unless-stopped