stack/deploy/docker/stack.dev.yml

127 lines
3.8 KiB
YAML
Raw Permalink Normal View History

2024-12-05 17:02:44 +01:00
version: "3.9"
services:
api-registry:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/api-registry:dev
2024-12-05 17:02:44 +01:00
environment:
- APP_DOMAIN=registry.service.ego.io
2024-12-24 14:19:23 +01:00
# - VAULT_API_ADDR=https://api-vault:8200
2024-12-05 17:02:44 +01:00
# - ENVOY_VERSION_STRING=1.26.3
ports:
- 48100:8501
api-gateway:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/api-registry:dev
2024-12-05 17:02:44 +01:00
environment:
- APP_DOMAIN=gw.service.ego.io
# - ENVOY_VERSION_STRING=1.26.3
ports:
- 48101:8501
- 48443:8443 # consul & envoy api gateway port
api-vault:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/api-vault:dev
2024-12-05 17:02:44 +01:00
environment:
- APP_DOMAIN=vault.service.ego.io
- CONSUL_HTTP_ADDR=https://api-registry:8501
api-eventbus:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/api-eventbus:dev
2024-12-05 17:02:44 +01:00
environment:
- APP_DOMAIN=esb.service.ego.io
# - RABBITMQ_NODENAME=api-eventbus
# - RABBITMQ_USE_LONGNAME=true
# - RABBITMQ_DEFAULT_USER = admin
# - RABBITMQ_DEFAULT_PASS = passw123
api-cache:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/api-cache:dev
2024-12-05 17:02:44 +01:00
environment:
- APP_DOMAIN=cache.service.ego.io
- PASSWORD=12345678
api-logger:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/api-logger:dev
2024-12-05 17:02:44 +01:00
environment:
- APP_DOMAIN=logger.service.ego.io
# api-prometheus:
# image: prom/prometheus:latest # FIXME: create private image(prod/dev)...
# environment:
# - APP_DOMAIN=prometheus.service.ego.io
# api-grafana:
# image: grafana/grafana-oss:latest # FIXME: create private image(prod/dev)...
# environment:
# - APP_DOMAIN=grafana.service.ego.io
db-postgres:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/db-postgres:dev
2024-12-05 17:02:44 +01:00
environment:
- APP_DOMAIN=postgresdb.service.ego.io
- POSTGRESQL_PASSWORD=12345678
# db-mongo:
# environment:
# - MONGO_INITDB_ROOT_PASSWORD=12345678
# API micro-services
identity-svc:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/identity-svc:dev
2024-12-05 17:02:44 +01:00
environment:
# - SERVER_ADDR=basket.service.ego.io
- APP_DOMAIN=identity.service.ego.io
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
catalog-svc:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/catalog-svc:dev
2024-12-05 17:02:44 +01:00
environment:
# - REGISTRY_USE_DOMAIN_OVER_IP=false
- APP_DOMAIN=catalog.service.ego.io
- AUTH_HANDLER_URL=https://identity.service.ego.io/api/v1/traefik
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
basket-svc:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/basket-svc:dev
2024-12-05 17:02:44 +01:00
environment:
- APP_DOMAIN=basket.service.ego.io
- AUTH_HANDLER_URL=https://identity.service.ego.io/api/v1/traefik
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
order-svc:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/order-svc:dev
2024-12-05 17:02:44 +01:00
environment:
- APP_DOMAIN=order.service.ego.io
- AUTH_HANDLER_URL=https://identity.service.ego.io/api/v1/traefik
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
# volumes:
# - ../etc/resolv.conf:/etc/resolv.conf
pricing-svc:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/pricing-svc:dev
2024-12-05 17:02:44 +01:00
environment:
- APP_DOMAIN=pricing.service.ego.io
- AUTH_HANDLER_URL=https://identity.service.ego.io/api/v1/traefik
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
# Workers (Eventbus)
basket-worker:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/basket-worker:dev
2024-12-05 17:02:44 +01:00
environment:
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
catalog-worker:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/catalog-worker:dev
2024-12-05 17:02:44 +01:00
environment:
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
pricing-worker:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/pricing-worker:dev
2024-12-05 17:02:44 +01:00
environment:
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
order-worker:
2024-12-24 14:19:23 +01:00
image: git.ego.cloudns.be/egommerce/order-worker:dev
2024-12-05 17:02:44 +01:00
environment:
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017