Remove container_name to allow multiple apps

Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
This commit is contained in:
Stefan Scherer 2022-11-23 11:36:50 +01:00
parent e3ea3e9044
commit ec7d18db31
No known key found for this signature in database
GPG Key ID: A3CBE0C3D2861635
2 changed files with 0 additions and 4 deletions

View File

@ -29,7 +29,6 @@ services:
expose:
- 3000
mongo:
container_name: mongo
restart: always
image: mongo:4.2.0
volumes:

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: