[ BAEL-6068 ] - Communicating with Docker containers on the same machine (#13343)

* fix: build clean up

* feat: add docker compose 2 module, add communication same machine docker compose

* fix: remove unused package lock file
This commit is contained in:
lucaCambi77
2023-01-27 03:42:54 +01:00
committed by GitHub
parent 7f3f707077
commit 3b521d448f
13 changed files with 177 additions and 4 deletions
@@ -0,0 +1,20 @@
services:
alpine-app-1:
container_name: alpine-app-1
image: alpine-app-1
build:
context: ..
dockerfile: Dockerfile
tty: true
ports:
- 8081:8081
alpine-app-2:
container_name: alpine-app-2
image: alpine-app-2
build:
context: ..
dockerfile: Dockerfile
tty: true
ports:
- 8080:8080