Skip to content

Commit 1ed185c

Browse files
committed
remove unnecessary --link option
1 parent 98642a9 commit 1ed185c

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

08-running-containers/Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ docker-run-all:
5959
-e DATABASE_URL=${DATABASE_URL} \
6060
-p 3000:3000 \
6161
--restart unless-stopped \
62-
--link=db \
6362
api-node
6463

6564
docker run -d \
@@ -68,7 +67,6 @@ docker-run-all:
6867
-e DATABASE_URL=${DATABASE_URL} \
6968
-p 8080:8080 \
7069
--restart unless-stopped \
71-
--link=db \
7270
api-golang
7371

7472
docker run -d \
@@ -77,17 +75,13 @@ docker-run-all:
7775
-v ${PWD}/client-react/vite.config.js:/usr/src/app/vite.config.js \
7876
-p 5173:5173 \
7977
--restart unless-stopped \
80-
--link=api-node \
81-
--link=api-golang \
8278
client-react-vite
8379

8480
docker run -d \
8581
--name client-react-nginx \
8682
--network my-network \
8783
-p 80:8080 \
8884
--restart unless-stopped \
89-
--link=api-node \
90-
--link=api-golang \
9185
client-react-ngnix
9286

9387
.PHONY: docker-stop

0 commit comments

Comments
 (0)