Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Use this to bring up the bare minimum docker containers to support
- # integration testing. In theory you don't need this for dev and unit testing, right??
- #
- # in other words, for IT, you would do 'docker-compose start' and then launch
- # the smartone container and test it.
- #
- # For most dev work, the mocks should be enough (you need to apply the testing profile)
- #
- # Ports mapped to 4126 are for remote debugging
- data:
- image: zimperium-dockerv2-local.jfrog.io/data:1.0
- volumes:
- - "/data"
- consul:
- image: zimperium-dockerv2-local.jfrog.io/consul:1.0.5
- container_name: consul
- ports:
- - 8500:8500
- postgres:
- image: zimperium-dockerv2-local.jfrog.io/postgres:1.0.3
- container_name: postgres
- links:
- - consul
- ports:
- - 5432:5432
- dns:
- - 127.0.0.1
- kafka:
- image: zimperium-dockerv2-local.jfrog.io/kafka:1.0.9
- container_name: kafka
- ports:
- - 9092:9092
- - 2181:2181
- - 9000:9000
- - 9001:9001
- - 2490:2490
- - 12345:12345
- links:
- - consul
- volumes_from:
- - "data"
- dns:
- - 127.0.0.1
- - 8.8.8.8
- rolesandpermissions:
- image: zimperium-dockerv2-local.jfrog.io/rolesandpermissions:1.0.0
- container_name: rolesandpermissions
- links:
- - consul
- - postgres
- - kafka
- ports:
- - 6649:8080
- - 24126:4126
- dns:
- - 127.0.0.1
- collectionpolicy:
- image: zimperium-dockerv2-local.jfrog.io/collectionpolicy:1.0.5
- container_name: collectionpolicy
- links:
- - consul
- - postgres
- - kafka
- ports:
- - 6654:8080
- - 34126:4126
- dns:
- - 127.0.0.1
- trm:
- image: zimperium-dockerv2-local.jfrog.io/trm:1.2.5
- container_name: trm
- links:
- - consul
- - postgres
- - kafka
- ports:
- - 6641:8080
- dns:
- - 127.0.0.1
- user:
- image: zimperium-dockerv2-local.jfrog.io/user:2.0.7
- container_name: user
- ports:
- - 8624:8080
- - 41126:4126
- links:
- - consul
- - postgres
- - kafka
- dns:
- - 127.0.0.1
- device:
- image: zimperium-dockerv2-local.jfrog.io/device:2.3.4
- container_name: device
- links:
- - consul
- - postgres
- - kafka
- ports:
- - 50000:8080
- - 35294:4126
- dns:
- - 127.0.0.1
- tenant:
- image: zimperium-dockerv2-local.jfrog.io/tenant:1.3.6
- container_name: tenant
- ports:
- - 6638:8080
- - 35234:4126
- links:
- - consul
- - postgres
- - kafka
- dns:
- - 127.0.0.1
- email:
- image: zimperium-dockerv2-local.jfrog.io/email:1.3.3.appdirect
- container_name: email
- ports:
- - 6646:8080
- - 4135:4126
- links:
- - consul
- - kafka
- - postgres
- dns:
- - 127.0.0.1
- ## these guys are not strictly necessary but they are handy...
- # provides a useful control panel for spring boot apps
- admin:
- image: zimperium-dockerv2-local.jfrog.io/admin:1.0.5
- container_name: admin
- links:
- - consul
- ports:
- - 80:8080
- # provides hawtio (good stuff, including camel rout visualizer)
- #control:
- # image: zimperium-dockerv2-local.jfrog.io/control:latest
- # container_name: control
- # links:
- # - consul
- # ports:
- # - 8086:8080
- # If you want to run appdirect from the IDE instead of the docker container, comment out this block
- appdirect:
- image: zimperium/appdirect #zimperium-dockerv2-local.jfrog.io/appdirect:latest
- container_name: appdirect
- ports:
- - 6639:8080
- - 4126:4126
- links:
- - consul
- - postgres
- - tenant
- - user
- dns:
- - 127.0.0.1
- proxy:
- image: zimperium-dockerv2-local.jfrog.io/proxy:1.1
- container_name: proxy
- volumes:
- - /etc/haproxy/certs/public.pem:/etc/server.crt
- - /etc/haproxy/certs/private.pem:/etc/server.key
- - /etc/haproxy/haproxy.cfg:/etc/haproxy.cfg
- ports:
- - 8080:8080
- links:
- - appdirect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement