seperate frontend network from backend
This commit is contained in:
@@ -12,7 +12,7 @@ services:
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
- net1
|
||||
- net2
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
@@ -27,6 +27,7 @@ services:
|
||||
- 80:80
|
||||
networks:
|
||||
- net1
|
||||
- net2
|
||||
depends_on:
|
||||
- database
|
||||
|
||||
@@ -49,3 +50,5 @@ volumes:
|
||||
networks:
|
||||
net1:
|
||||
name: network1
|
||||
net2:
|
||||
name: network2
|
||||
Reference in New Issue
Block a user