From 4069a1004a28413ca3f022f875240b12fc43ff31 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 16 Feb 2026 18:36:50 +0300 Subject: [PATCH] Allow to debug workers with binding.pry in docker environment (#21462) --- docker-compose.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f530e2fe00d..1c98169d242 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,8 +22,7 @@ x-op-build: &build DEV_UID: $DEV_UID DEV_GID: $DEV_GID x-op-image: &image - image: - openproject/dev:latest + image: openproject/dev:latest x-op-frontend-build: &frontend-build context: . dockerfile: ./docker/dev/frontend/Dockerfile @@ -31,6 +30,8 @@ x-op-frontend-build: &frontend-build DEV_UID: $DEV_UID DEV_GID: $DEV_GID x-op-backend: &backend + tty: true + stdin_open: true build: <<: *build target: develop @@ -60,8 +61,6 @@ x-op-backend: &backend services: backend: <<: *backend - tty: true - stdin_open: true command: run-app depends_on: - db @@ -110,7 +109,7 @@ services: networks: - network -######### Testing stuff below ############ + ######### Testing stuff below ############ db-test: image: postgres:17