๐จBuilding from Pre-build containers
Docker compose configuration for apple M1 using images:
version: "3.8"
services:
mongo:
image: mongo
command: "--setParameter allowDiskUseByDefault=true"
restart: always
expose:
- 27017
message-broker:
image: nats:2.10.9
expose:
- 4222
ports:
- '8222:8222'
command: '--http_port 8222'
mongo-express:
image: mongo-express:1.0.0-alpha.4
ports:
- 8081
environment:
ME_CONFIG_MONGODB_SERVER: mongo
ME_CONFIG_MONGODB_PORT: 27017
ME_CONFIG_SITE_BASEURL: /mongo-admin
depends_on:
- mongo
notification-service:
env_file:
- ./configs/.env.${GUARDIAN_ENV}.guardian.system
image: gcr.io/hedera-registry/notification-service:2.22.0
platform: linux/amd64
depends_on:
- message-broker
logger-service:
env_file:
- ./configs/.env.${GUARDIAN_ENV}.guardian.system
image: gcr.io/hedera-registry/logger-service:2.22.0
platform: linux/amd64
depends_on:
- message-broker
worker-service-1:
env_file:
- ./configs/.env.${GUARDIAN_ENV}.guardian.system
image: gcr.io/hedera-registry/worker-service:2.22.0
platform: linux/amd64
depends_on:
- auth-service
environment:
SERVICE_CHANNEL: 'worker.1'
IPFS_STORAGE_KEY: "..."
IPFS_STORAGE_PROOF: "..."
worker-service-2:
env_file:
- ./configs/.env.${GUARDIAN_ENV}.guardian.system
image: gcr.io/hedera-registry/worker-service:2.22.0
platform: linux/amd64
depends_on:
- auth-service
environment:
SERVICE_CHANNEL: 'worker.2'
IPFS_STORAGE_KEY: "..."
IPFS_STORAGE_PROOF: "..."
auth-service:
env_file:
- ./configs/.env.${GUARDIAN_ENV}.guardian.system
image: gcr.io/hedera-registry/auth-service:2.22.0
platform: linux/amd64
depends_on:
- mongo
- message-broker
- logger-service
api-gateway:
env_file:
- ./configs/.env.${GUARDIAN_ENV}.guardian.system
image: gcr.io/hedera-registry/api-gateway:2.22.0
platform: linux/amd64
expose:
- 3002
depends_on:
- mongo
- message-broker
- guardian-service
- auth-service
- logger-service
policy-service:
env_file:
- ./configs/.env.${GUARDIAN_ENV}.guardian.system
image: gcr.io/hedera-registry/policy-service:2.22.0
platform: linux/amd64
depends_on:
- mongo
- message-broker
- auth-service
- logger-service
mrv-sender:
env_file:
- ./configs/.env.${GUARDIAN_ENV}.guardian.system
image: gcr.io/hedera-registry/mrv-sender:2.22.0
platform: linux/amd64
topic-viewer:
env_file:
- ./configs/.env.${GUARDIAN_ENV}.guardian.system
image: gcr.io/hedera-registry/mrv-sender:2.22.0
platform: linux/amd64
guardian-service:
env_file:
- ./configs/.env.${GUARDIAN_ENV}.guardian.system
image: gcr.io/hedera-registry/guardian-service:2.22.0
platform: linux/amd64
depends_on:
- mongo
- message-broker
- auth-service
- logger-service
- worker-service-1
- worker-service-2
- policy-service
environment:
OPERATOR_ID: "..."
OPERATOR_KEY: "..."
web-proxy:
image: gcr.io/hedera-registry/frontend:2.22.0
platform: linux/amd64
environment:
GATEWAY_HOST: 'api-gateway'
GATEWAY_PORT: '3002'
GATEWAY_CLIENT_MAX_BODY_SIZE: '1024m'
ports:
- "3000:80"
depends_on:
- guardian-service
- auth-service
- api-gateway
- mrv-sender
- mongo-express
volumes:
mongo:
# volume-guardian-service:
# volume-ui-service:
# volume-mrv-sender:
# volume-message-broker:
Last updated