Interservice communication
This commit is contained in:
@ -18,11 +18,13 @@ services:
|
||||
context: ./machines
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
- APPPORT=3000
|
||||
- DBHOST=db
|
||||
- DBPORT=5432
|
||||
- DBNAME=komponiranje
|
||||
- DBUSER=pero
|
||||
- DBPASSWORD=pero.000
|
||||
- PRODUCTSAPPURL=http://products-service:3000
|
||||
# ports:
|
||||
# - 3000:3000
|
||||
depends_on:
|
||||
@ -33,6 +35,7 @@ services:
|
||||
context: ./products
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
- APPPORT=3000
|
||||
- DBHOST=db
|
||||
- DBPORT=5432
|
||||
- DBNAME=komponiranje
|
||||
|
||||
Reference in New Issue
Block a user