version: '3.7' services: golang-app-debug: container_name: golang-app build: context: . dockerfile: Debug.Dockerfile security_opt: - apparmor=unconfined cap_add: - SYS_PTRACE environment: - TOKEN=${TOKEN} - OWNER=${OWNER} ports: - "4040:4040"