SSE-Lab/dockerized/simple_site/docker-compose.yaml

26 lines
357 B
YAML

version: '3'
services:
# 3 versions of the same app responding to host's 3001-3
app1:
build: .
environment:
- APP_NAME=App1
ports:
- "3001:3000"
app2:
build: .
environment:
- APP_NAME=App2
ports:
- "3002:3000"
app3:
build: .
environment:
- APP_NAME=App3
ports:
- "3003:3000"