mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
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> Signed-off-by: Andrew Maguire <andrewm4894@gmail.com>
This commit is contained in:
parent
81901c3c8c
commit
05b8a83bc0
2 changed files with 0 additions and 4 deletions
|
@ -29,7 +29,6 @@ services:
|
|||
expose:
|
||||
- 3000
|
||||
mongo:
|
||||
container_name: mongo
|
||||
restart: always
|
||||
image: mongo:4.2.0
|
||||
volumes:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue