(And with existing Spring Cloud projects.) Uses a maven plugin to build the image. It can be pushed manually, or else using -Ddocker.image.prefix=<path_to_repo>. Removes some of the hard-coded host names and stuff that came with the old version.
19 lines
436 B
YAML
19 lines
436 B
YAML
redis:
|
|
image: redis
|
|
|
|
timesource:
|
|
image: springcloud/stream-module-launcher
|
|
links:
|
|
- redis
|
|
environment:
|
|
SPRING_REDIS_HOST: redis
|
|
MODULES: org.springframework.cloud.stream.module:time-source:1.0.0.BUILD-SNAPSHOT
|
|
|
|
logsink:
|
|
image: springcloud/stream-module-launcher
|
|
links:
|
|
- redis
|
|
environment:
|
|
SPRING_REDIS_HOST: redis
|
|
MODULES: org.springframework.cloud.stream.module:log-sink:1.0.0.BUILD-SNAPSHOT
|
|
|