services: opencode: image: opencode-arch build: context: . dockerfile: Dockerfile args: USERNAME: "${USER}" UID: "${UID}" GID: "${GID}" user: "${UID}:${GID}" working_dir: "${PWD}" stdin_open: true tty: true environment: UID: "${UID}" GID: "${GID}" volumes: - "${CONTAINER_HOME}:/home/${USER}/" - "${PWD}:${PWD}" cap_drop: - ALL security_opt: - no-new-privileges:true