mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
Allow to debug workers with binding.pry in docker environment (#21462)
This commit is contained in:
+4
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user