Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- redis:
- image: redis:4-alpine
- ports:
- - 6379:6379
- consul:
- image: consul
- ports:
- - 8500:8500
- command: ["agent", "-dev", "-ui", "-http-port","8500", "-client", "0.0.0.0"]
- gateway:
- image: artifactory.setmachine.ru:5000/gateway-lp
- environment:
- - TZ="Europe/Moscow"
- - spring.cloud.consul.port=8500
- - spring.cloud.consul.discovery.register=true
- depends_on:
- - consul
- ports:
- - 8090:8090
- processing:
- environment:
- - TZ="Europe/Moscow"
- - CONSUL_HOST=consul
- - CONSUL_PORT=8500
- - REDIS_TTL_RESERVED=120
- - redis.connections.restriction.simple.host=redis
- - redis.connections.restriction.simple.port=6379
- - redis.connections.reservation.simple.host=redis
- - redis.connections.reservation.simple.port=6379
- - cache.actions.eviction.millis=2000
- image: artifactory.setmachine.ru:5000/counters-restriction-processing
- command: ["java", "-Dspring.profiles.active=dev", "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8787", "-jar", "/app/processing.jar"]
- depends_on:
- - consul
- - redis
- ports:
- - 8787:8787
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement