[ 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:
@@ -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
|
||||
Reference in New Issue
Block a user