Account Transfer Service - https://github.com/dchqinc/docker-java-microservices
1.4K
This is a Docker Java Microservice example. The image was built using this project. https://github.com/dchqinc/docker-java-microservices
To run & manage this simple Docker Java Microservice application on 18 different clouds and virtualization platforms (including vSphere, OpenStack, AWS, Rackspace, Microsoft Azure, Google Compute Engine, DigitalOcean, IBM SoftLayer, etc.), make sure that you either:
Customize & Run all the published Docker Java Microservice application templates and many other templates (including multi-tier Java application stacks, LAMP, LAPP, and LAOP Stacks, Mongo Replica Set Cluster, Drupal, Wordpress, MEAN.JS, etc.)
nginx:
image: dchq/nginx-microservices:latest
publish_all: true
mem_min: 50m
host: host1
plugins:
- !plugin
id: Gl5Hi
restart: true
lifecycle: on_create
arguments:
- ACCOUNT_CMD_IP={{accountscommandside | ip}}
- ACCOUNT_CMD_PORT={{accountscommandside | port_8080}}
- ACCOUNT_TRANSFER_IP={{transactionscommandside | ip}}
- ACCOUNT_TRANSFER_PORT={{transactionscommandside | port_8080}}
- ACCOUNT_QUERY_IP={{accountsqueryside | ip}}
- ACCOUNT_QUERY_PORT={{accountsqueryside | port_8080}}
accountscommandside:
image: dchq/accounts-command-side-service
mem_min: 300m
cluster_size: 1
host: host1
publish_all: true
environment:
- EVENTUATE_API_KEY_ID=4K36NGM2J3JAICADIBNK7ZZBR
- EVENTUATE_API_KEY_SECRET=Fp2xWBexgxLHlB1LwzoKY6RHlHzcllRNgXn+x8i9KvQ
transactionscommandside:
image: dchq/transactions-command-side-service
mem_min: 300m
cluster_size: 1
host: host1
publish_all: true
environment:
- EVENTUATE_API_KEY_ID=4K36NGM2J3JAICADIBNK7ZZBR
- EVENTUATE_API_KEY_SECRET=Fp2xWBexgxLHlB1LwzoKY6RHlHzcllRNgXn+x8i9KvQ
accountsqueryside:
image: dchq/accounts-query-side-service
mem_min: 300m
cluster_size: 1
host: host1
publish_all: true
environment:
- EVENTUATE_API_KEY_ID=4K36NGM2J3JAICADIBNK7ZZBR
- EVENTUATE_API_KEY_SECRET=Fp2xWBexgxLHlB1LwzoKY6RHlHzcllRNgXn+x8i9KvQ
- SPRING_DATA_MONGODB_URI=mongodb://{{mongodb | container_private_ip}}/mydb
mongodb:
image: mongo:3.0.4
host: host1
command: mongod
docker pull dchq/transactions-command-side-service:latest