25 lines
483 B
YAML
Executable File
25 lines
483 B
YAML
Executable File
services:
|
|
app:
|
|
image: hello-front-dev
|
|
build:
|
|
context: .
|
|
dockerfile: dev.Dockerfile
|
|
volumes:
|
|
- ./:/usr/src/app
|
|
ports:
|
|
- 3210:5173
|
|
container_name: hello-front-dev
|
|
|
|
debug-helper:
|
|
image: busybox
|
|
|
|
nginx:
|
|
image: nginx:1.20.1
|
|
volumes:
|
|
- ./nginx.dev.conf:/etc/nginx/nginx.conf:ro
|
|
ports:
|
|
- 8080:80
|
|
container_name: reverse-proxy
|
|
depends_on:
|
|
- app # wait for the frontend container to be started
|