react-express-mongodb: remove container_name to allow multiple apps in parallel (#310)

Remove `container_name` to allow multiple apps without conflict.

Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
This commit is contained in:
Stefan Scherer authored and GitHub committed 2022-12-08 16:21:16 -05:00
1 parent e3ea3e9044
commit 6f15838d24
2 files changed
-4

No files matched your search

-3
View File
@@ -9,7 +9,6 @@ services:
volumes:
- ./frontend:/usr/src/app
- /usr/src/app/node_modules
container_name: frontend
restart: always
networks:
- react-express
@@ -17,7 +16,6 @@ services:
- backend
backend:
container_name: backend
restart: always
build:
context: backend
@@ -33,7 +31,6 @@ services:
expose:
- 3000
mongo:
container_name: mongo
restart: always
image: mongo:4.2.0
volumes: