env domain names fixes
This commit is contained in:
parent
b972b53d6b
commit
958e04f81d
@ -4,9 +4,9 @@ services:
|
|||||||
# INFRASTRUCTURE SERVICES
|
# INFRASTRUCTURE SERVICES
|
||||||
api-gateway:
|
api-gateway:
|
||||||
image: git.pbiernat.dev/egommerce/api-gateway:dev
|
image: git.pbiernat.dev/egommerce/api-gateway:dev
|
||||||
hostname: gw.egommerce.local
|
hostname: gw.egommerce.pbiernat.dev
|
||||||
environment:
|
environment:
|
||||||
- APP_DOMAIN=gw.egommerce.local
|
- APP_DOMAIN=gw.egommerce.pbiernat.dev
|
||||||
# ports:
|
# ports:
|
||||||
# - '8443:443'
|
# - '8443:443'
|
||||||
# - '8888:8080'
|
# - '8888:8080'
|
||||||
@ -15,9 +15,9 @@ services:
|
|||||||
|
|
||||||
api-registry:
|
api-registry:
|
||||||
image: git.pbiernat.dev/egommerce/api-registry:dev
|
image: git.pbiernat.dev/egommerce/api-registry:dev
|
||||||
hostname: registry.egommerce.local
|
hostname: registry.egommerce.pbiernat.dev
|
||||||
environment:
|
environment:
|
||||||
- APP_DOMAIN=registry.egommerce.local
|
- APP_DOMAIN=registry.egommerce.pbiernat.dev
|
||||||
# ports:
|
# ports:
|
||||||
# - '8500:8500'
|
# - '8500:8500'
|
||||||
# - '8600:8600'
|
# - '8600:8600'
|
||||||
@ -25,9 +25,9 @@ services:
|
|||||||
|
|
||||||
api-eventbus:
|
api-eventbus:
|
||||||
image: git.pbiernat.dev/egommerce/api-eventbus:dev
|
image: git.pbiernat.dev/egommerce/api-eventbus:dev
|
||||||
hostname: eventbus.egommerce.local
|
hostname: eventbus.egommerce.pbiernat.dev
|
||||||
environment:
|
environment:
|
||||||
- APP_DOMAIN=eventbus.egommerce.local
|
- APP_DOMAIN=eventbus.egommerce.pbiernat.dev
|
||||||
- RABBITMQ_NODENAME=api-eventbus
|
- RABBITMQ_NODENAME=api-eventbus
|
||||||
# - RABBITMQ_DEFAULT_USER = admin
|
# - RABBITMQ_DEFAULT_USER = admin
|
||||||
# - RABBITMQ_DEFAULT_PASS = passw123
|
# - RABBITMQ_DEFAULT_PASS = passw123
|
||||||
@ -37,16 +37,16 @@ services:
|
|||||||
|
|
||||||
api-logger:
|
api-logger:
|
||||||
image: git.pbiernat.dev/egommerce/api-logger:dev
|
image: git.pbiernat.dev/egommerce/api-logger:dev
|
||||||
hostname: logger.egommerce.local
|
hostname: logger.egommerce.pbiernat.dev
|
||||||
environment:
|
environment:
|
||||||
- APP_DOMAIN=logger.egommerce.local
|
- APP_DOMAIN=logger.egommerce.pbiernat.dev
|
||||||
# ports:
|
# ports:
|
||||||
# - 24224:24224
|
# - 24224:24224
|
||||||
|
|
||||||
postgres-db:
|
postgres-db:
|
||||||
hostname: db.egommerce.local
|
hostname: db.egommerce.pbiernat.dev
|
||||||
environment:
|
environment:
|
||||||
- APP_DOMAIN=db.egommerce.local
|
- APP_DOMAIN=db.egommerce.pbiernat.dev
|
||||||
- POSTGRES_PASSWORD=12345678
|
- POSTGRES_PASSWORD=12345678
|
||||||
# ports:
|
# ports:
|
||||||
# - '5432:5432'
|
# - '5432:5432'
|
||||||
@ -54,9 +54,9 @@ services:
|
|||||||
# - ./certs/postgres-db:/certs
|
# - ./certs/postgres-db:/certs
|
||||||
|
|
||||||
mongo-db:
|
mongo-db:
|
||||||
hostname: mongodb.egommerce.local
|
hostname: mongodb.egommerce.pbiernat.dev
|
||||||
environment:
|
environment:
|
||||||
- APP_DOMAIN=mongodb.egommerce.local
|
- APP_DOMAIN=mongodb.egommerce.pbiernat.dev
|
||||||
- MONGO_INITDB_ROOT_PASSWORD=12345678
|
- MONGO_INITDB_ROOT_PASSWORD=12345678
|
||||||
# ports:
|
# ports:
|
||||||
# - '27017:27017'
|
# - '27017:27017'
|
||||||
@ -67,40 +67,40 @@ services:
|
|||||||
identity-svc:
|
identity-svc:
|
||||||
image: git.pbiernat.dev/egommerce/identity-svc:dev
|
image: git.pbiernat.dev/egommerce/identity-svc:dev
|
||||||
environment:
|
environment:
|
||||||
- APP_DOMAIN=identity.api.egommerce.local
|
- APP_DOMAIN=identity.api.egommerce.pbiernat.dev
|
||||||
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.local:5432/egommerce
|
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.pbiernat.dev:5432/egommerce
|
||||||
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.local:27017
|
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.pbiernat.dev:27017
|
||||||
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.local:5672
|
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.pbiernat.dev:5672
|
||||||
volumes:
|
volumes:
|
||||||
- ./certs/identity-svc:/certs
|
- ./certs/identity-svc:/certs
|
||||||
|
|
||||||
basket-svc:
|
basket-svc:
|
||||||
image: git.pbiernat.dev/egommerce/basket-svc:dev
|
image: git.pbiernat.dev/egommerce/basket-svc:dev
|
||||||
environment:
|
environment:
|
||||||
- APP_DOMAIN=basket.api.egommerce.local
|
- APP_DOMAIN=basket.api.egommerce.pbiernat.dev
|
||||||
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.local:5432/egommerce
|
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.pbiernat.dev:5432/egommerce
|
||||||
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.local:27017
|
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.pbiernat.dev:27017
|
||||||
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.local:5672
|
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.pbiernat.dev:5672
|
||||||
volumes:
|
volumes:
|
||||||
- ./certs/basket-svc:/certs
|
- ./certs/basket-svc:/certs
|
||||||
|
|
||||||
catalog-svc:
|
catalog-svc:
|
||||||
image: git.pbiernat.dev/egommerce/catalog-svc:dev
|
image: git.pbiernat.dev/egommerce/catalog-svc:dev
|
||||||
environment:
|
environment:
|
||||||
- APP_DOMAIN=catalog.api.egommerce.local
|
- APP_DOMAIN=catalog.api.egommerce.pbiernat.dev
|
||||||
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.local:5432/egommerce
|
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.pbiernat.dev:5432/egommerce
|
||||||
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.local:27017
|
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.pbiernat.dev:27017
|
||||||
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.local:5672
|
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.pbiernat.dev:5672
|
||||||
volumes:
|
volumes:
|
||||||
- ./certs/catalog-svc:/certs
|
- ./certs/catalog-svc:/certs
|
||||||
|
|
||||||
order-svc:
|
order-svc:
|
||||||
image: git.pbiernat.dev/egommerce/order-svc:dev
|
image: git.pbiernat.dev/egommerce/order-svc:dev
|
||||||
environment:
|
environment:
|
||||||
- APP_DOMAIN=order.api.egommerce.local
|
- APP_DOMAIN=order.api.egommerce.pbiernat.dev
|
||||||
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.local:5432/egommerce
|
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.pbiernat.dev:5432/egommerce
|
||||||
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.local:27017
|
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.pbiernat.dev:27017
|
||||||
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.local:5672
|
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.pbiernat.dev:5672
|
||||||
volumes:
|
volumes:
|
||||||
- ./certs/order-svc:/certs
|
- ./certs/order-svc:/certs
|
||||||
|
|
||||||
@ -110,24 +110,24 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.local:5432/egommerce
|
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.pbiernat.dev:5432/egommerce
|
||||||
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.local:27017
|
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.pbiernat.dev:27017
|
||||||
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.local:5672
|
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.pbiernat.dev:5672
|
||||||
|
|
||||||
catalog-worker:
|
catalog-worker:
|
||||||
image: git.pbiernat.dev/egommerce/catalog-worker:dev
|
image: git.pbiernat.dev/egommerce/catalog-worker:dev
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.local:5432/egommerce
|
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.pbiernat.dev:5432/egommerce
|
||||||
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.local:27017
|
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.pbiernat.dev:27017
|
||||||
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.local:5672
|
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.pbiernat.dev:5672
|
||||||
|
|
||||||
order-worker:
|
order-worker:
|
||||||
image: git.pbiernat.dev/egommerce/order-worker:dev
|
image: git.pbiernat.dev/egommerce/order-worker:dev
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.local:5432/egommerce
|
- DATABASE_URL=postgres://postgres:12345678@db.egommerce.pbiernat.dev:5432/egommerce
|
||||||
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.local:27017
|
- MONGODB_URL=mongodb://mongodb:12345678@mongodb.egommerce.pbiernat.dev:27017
|
||||||
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.local:5672
|
- EVENTBUS_URL=amqp://guest:guest@eventbus.egommerce.pbiernat.dev:5672
|
||||||
|
Loading…
Reference in New Issue
Block a user