mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-19 07:18:06 +02:00
add configuration to use react-express-mongo sample with Docker Dev Environments feature (#271)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
This commit is contained in:
parent
9f4f9d8fb8
commit
74317904bd
5 changed files with 96 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
|||
services:
|
||||
frontend:
|
||||
build: frontend
|
||||
build:
|
||||
context: frontend
|
||||
target: development
|
||||
ports:
|
||||
- 3000:3000
|
||||
stdin_open: true
|
||||
|
@ -17,7 +19,9 @@ services:
|
|||
backend:
|
||||
container_name: backend
|
||||
restart: always
|
||||
build: backend
|
||||
build:
|
||||
context: backend
|
||||
target: development
|
||||
volumes:
|
||||
- ./backend:/usr/src/app
|
||||
- /usr/src/app/node_modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue