awesome-compose/react-nginx/.docker/docker-compose.yaml
Guillaume Lours 88077f56ab
add configuration to use react-nginx sample with Docker Dev Environments feature
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-12 23:05:17 +02:00

12 lines
214 B
YAML
Executable File

services:
frontend:
build:
context: .
target: dev-envs
container_name: frontend
ports:
- "80:3000"
- "3000:3000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock