From ce8a1d9f19e64ac47c1ff27ffc6e6a91e08e1afa Mon Sep 17 00:00:00 2001 From: Miroslav Blasko Date: Mon, 12 Aug 2024 15:12:46 +0200 Subject: [PATCH] [New] Add possibility to debug rest api server port --- docker-compose.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 879b386..69f56b5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,9 @@ -version: '3' +version: '3.9' + +# Expose port to access s-pipes-editor-rest directly +x-access-db-server-development-port: &s-pipes-editor-rest-dev-port + ports: + - "127.0.0.1:${EDITOR_REST_PORT:-18115}:18115" services: s-pipes-editor-ui: @@ -12,6 +17,7 @@ services: - SERVICE_URL=${SPIPES_EDITOR_REST:-http://s-pipes-editor-rest:18115} s-pipes-editor-rest: + # <<: *s-pipes-editor-rest-dev-port image: 'ghcr.io/kbss-cvut/s-pipes-editor/s-pipes-editor:latest' container_name: s-pipes-editor-rest expose: