Skip to content

Commit 6f15838

Browse files
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 <[email protected]>
1 parent e3ea3e9 commit 6f15838

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

react-express-mongodb/.docker/docker-compose.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ services:
2929
expose:
3030
- 3000
3131
mongo:
32-
container_name: mongo
3332
restart: always
3433
image: mongo:4.2.0
3534
volumes:

react-express-mongodb/compose.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@ services:
99
volumes:
1010
- ./frontend:/usr/src/app
1111
- /usr/src/app/node_modules
12-
container_name: frontend
1312
restart: always
1413
networks:
1514
- react-express
1615
depends_on:
1716
- backend
1817

1918
backend:
20-
container_name: backend
2119
restart: always
2220
build:
2321
context: backend
@@ -33,7 +31,6 @@ services:
3331
expose:
3432
- 3000
3533
mongo:
36-
container_name: mongo
3734
restart: always
3835
image: mongo:4.2.0
3936
volumes:

0 commit comments

Comments
 (0)