part 12 done
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
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
|
||||
Reference in New Issue
Block a user