Skip to content

Commit

Permalink
docker-compose.yml: Update debug ports to be a settings.json value
Browse files Browse the repository at this point in the history
docker-compose.yml: Update the debug and SSH debug ports to get them
from the corresponding settings.json value instead of having them
hardcoded on the docker-compose.yml file.

Signed-off-by: Andre Riesco <[email protected]>
  • Loading branch information
andreriesco committed Aug 5, 2024
1 parent 698b772 commit 034017e
Show file tree
Hide file tree
Showing 21 changed files with 34 additions and 40 deletions.
4 changes: 2 additions & 2 deletions aspnetBlazor/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 2222:2222
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
- 7001:7001

__container__:
Expand All @@ -23,7 +23,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 2222:2222
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
- 7001:7001
depends_on:
- cog
Expand Down
2 changes: 1 addition & 1 deletion cConsole/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 2230:2230
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}

__container__:
build:
Expand Down
2 changes: 1 addition & 1 deletion cmakeConsole/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 2230:2230
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}

__container__:
build:
Expand Down
2 changes: 1 addition & 1 deletion cppConsole/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 2230:2230
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}

__container__:
build:
Expand Down
6 changes: 3 additions & 3 deletions cppQML/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ services:
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
# SSH debug
- 2231:2231
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
# gdbserver
- 2232:2232
- ${DEBUG_PORT1}:${DEBUG_PORT1}
# qml debug
- 2233:2233
- ${DEBUG_PORT2}:${DEBUG_PORT2}
volumes:
- type: bind
source: /tmp
Expand Down
4 changes: 2 additions & 2 deletions cppSlint/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ services:
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
# SSH debug
- 2231:2231
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
# gdbserver
- 2232:2232
- ${DEBUG_PORT1}:${DEBUG_PORT1}
volumes:
- type: bind
source: /tmp
Expand Down
2 changes: 1 addition & 1 deletion dotnetAvalonia/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__:${TAG}
ports:
- 2223:2223
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
volumes:
- type: bind
source: /tmp
Expand Down
2 changes: 1 addition & 1 deletion dotnetConsole/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 2222:2222
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}

__container__:
build:
Expand Down
2 changes: 1 addition & 1 deletion dotnetSlint/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 2222:2222
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
volumes:
- type: bind
source: /tmp
Expand Down
2 changes: 1 addition & 1 deletion dotnetUno/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__:${TAG}
ports:
- 2225:2225
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
volumes:
- type: bind
source: /tmp
Expand Down
2 changes: 1 addition & 1 deletion dotnetUno5/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__:${TAG}
ports:
- 2225:2225
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
volumes:
- type: bind
source: /tmp
Expand Down
2 changes: 1 addition & 1 deletion gambasForms/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__:${TAG}
ports:
- 2250:2250
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
volumes:
- type: bind
source: /tmp
Expand Down
4 changes: 2 additions & 2 deletions javaForms/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__:${TAG}
ports:
- 2234:2234
- 2235:2235
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
- ${DEBUG_PORT1}:${DEBUG_PORT1}
volumes:
- type: bind
source: /tmp
Expand Down
4 changes: 2 additions & 2 deletions monoCsharpForms/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__:${TAG}
ports:
- 2227:2227
- 55555:55555
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
- ${DEBUG_PORT1}:${DEBUG_PORT1}
volumes:
- type: bind
source: /tmp
Expand Down
10 changes: 3 additions & 7 deletions nodeElectron/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@ services:
context: .
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__:${TAG}
expose:
- 2228
- 9229
- 9223
ports:
- 2228:2228
- 9229:9229
- 9223:9223
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
- ${DEBUG_PORT1}:${DEBUG_PORT1}
- ${DEBUG_PORT2}:${DEBUG_PORT2}
volumes:
- type: bind
source: /tmp
Expand Down
4 changes: 2 additions & 2 deletions nodeJSTypeScript/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 2229:2229
- 9229:9229
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
- ${DEBUG_PORT1}:${DEBUG_PORT1}

__container__:
build:
Expand Down
4 changes: 2 additions & 2 deletions python3Console/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 6502:6502
- 6512:6512
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
- ${DEBUG_PORT1}:${DEBUG_PORT1}

__container__:
build:
Expand Down
6 changes: 3 additions & 3 deletions python3Pyside2QML/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 6502:6502
- 6512:6512
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
- ${DEBUG_PORT1}:${DEBUG_PORT1}
volumes:
- type: bind
source: /tmp
Expand All @@ -28,7 +28,7 @@ services:
depends_on: [
weston
]

__container__:
build:
context: .
Expand Down
2 changes: 1 addition & 1 deletion rustConsole/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 2299:2299
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}

__container__:
build:
Expand Down
6 changes: 2 additions & 4 deletions rustSlint/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
# SSH debug
- 2231:2231
# gdbserver
- 2232:2232
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
- ${DEBUG_PORT1}:${DEBUG_PORT1}
volumes:
- type: bind
source: /tmp
Expand Down
2 changes: 1 addition & 1 deletion zigConsole/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/__container__-debug:${TAG}
ports:
- 2320:2320
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}

__container__:
build:
Expand Down

0 comments on commit 034017e

Please sign in to comment.