lucaCambi77 3b521d448f [ 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
2023-01-26 20:42:54 -06:00

21 lines
361 B
YAML

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