1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-22 21:03:00 +00:00
kiwi-scp/example/hello-world.project/docker-compose.yml

19 lines
455 B
YAML
Raw Normal View History

version: "2"
networks:
# reachable from outside
default:
driver: bridge
# interconnects projects
kiwihub:
external:
name: $KIWI_HUB_NAME
services:
hello-world:
image: alpine:latest
2020-08-11 10:33:21 +00:00
command: sh -c 'LOOP=1; while :; do echo Hello World "$$LOOP"; LOOP=$$(($$LOOP + 1)); sleep 10; done'
foo-bar:
image: alpine:latest
command: sh -c 'LOOP=1; while :; do echo Foo Bar "$$LOOP"; LOOP=$$(($$LOOP + 1)); sleep 20; done'