diff --git a/deploy/egommerce-stack.dev.yml b/deploy/egommerce-stack.dev.yml index 83247b6..8d6c786 100644 --- a/deploy/egommerce-stack.dev.yml +++ b/deploy/egommerce-stack.dev.yml @@ -138,3 +138,82 @@ services: - DATABASE_URL=postgres://postgres:12345678@postgres-db:5432/egommerce - MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017 - EVENTBUS_URL=amqp://guest:guest@api-eventbus:5672 + +networks: + api-gateway-network: + driver: bridge + #internal: true + + api-registry-network: + driver: bridge + #internal: true + + api-eventbus-network: + driver: bridge + #internal: true + + api-cache-network: + driver: bridge + #internal: true + + api-logger-network: + driver: bridge + #internal: true + + api-prometheus-network: + driver: bridge + #internal: true + + #api-grafana-network: + # driver: bridge + # internal: true + + postgres-db-network: + driver: bridge + #internal: true + + mongodb-db-network: + driver: bridge + #internal: true + + # api micro-services networks + identity-svc-network: + driver: bridge + #internal: true + + basket-svc-network: + driver: bridge + #internal: true + + catalog-svc-network: + driver: bridge + #internal: true + + pricing-svc-network: + driver: bridge + #internal: true + + order-svc-network: + driver: bridge + #internal: true + + # Workers networks + # identity-worker-network: + # driver: bridge + # internal: true + + basket-worker-network: + driver: bridge + #internal: true + + catalog-worker-network: + driver: bridge + #internal: true + + pricing-worker-network: + driver: bridge + #internal: true + + order-worker-network: + driver: bridge + #internal: true diff --git a/deploy/egommerce-stack.yml b/deploy/egommerce-stack.yml index ec28884..af38dcf 100644 --- a/deploy/egommerce-stack.yml +++ b/deploy/egommerce-stack.yml @@ -314,61 +314,61 @@ volumes: #grafana-db: ~ networks: - api-gateway-network: ~ - # driver: overlay + api-gateway-network: + driver: overlay #internal: true - api-registry-network: ~ - # driver: overlay + api-registry-network: + driver: overlay #internal: true - api-eventbus-network: ~ - # driver: overlay + api-eventbus-network: + driver: overlay #internal: true - api-cache-network: ~ - # driver: overlay + api-cache-network: + driver: overlay #internal: true - api-logger-network: ~ - # driver: overlay + api-logger-network: + driver: overlay #internal: true - api-prometheus-network: ~ - # driver: overlay + api-prometheus-network: + driver: overlay #internal: true #api-grafana-network: # driver: overlay # internal: true - postgres-db-network: ~ - # driver: overlay + postgres-db-network: + driver: overlay #internal: true - mongodb-db-network: ~ - # driver: overlay + mongodb-db-network: + driver: overlay #internal: true # api micro-services networks - identity-svc-network: ~ - # driver: overlay + identity-svc-network: + driver: overlay #internal: true - basket-svc-network: ~ - # driver: overlay + basket-svc-network: + driver: overlay #internal: true - catalog-svc-network: ~ - # driver: overlay + catalog-svc-network: + driver: overlay #internal: true - pricing-svc-network: ~ - # driver: overlay + pricing-svc-network: + driver: overlay #internal: true - order-svc-network: ~ - # driver: overlay + order-svc-network: + driver: overlay #internal: true # Workers networks @@ -376,18 +376,18 @@ networks: # driver: overlay # internal: true - basket-worker-network: ~ - # driver: overlay + basket-worker-network: + driver: overlay #internal: true - catalog-worker-network: ~ - # driver: overlay + catalog-worker-network: + driver: overlay #internal: true - pricing-worker-network: ~ - # driver: overlay + pricing-worker-network: + driver: overlay #internal: true - order-worker-network: ~ - # driver: overlay + order-worker-network: + driver: overlay #internal: true