kiwi-scp/src/etc/docker-compose_default.yml

23 lines
403 B
YAML
Raw Normal View History

2020-08-18 13:56:58 +00:00
version: "2"
networks:
# reachable from outside
default:
driver: bridge
# interconnects projects
kiwi_hub:
external:
name: $KIWI_HUB_NAME
services:
2020-08-18 14:40:38 +00:00
# an example service
2020-08-18 13:56:58 +00:00
something:
2020-08-18 14:40:38 +00:00
# uses an image
2020-08-18 13:56:58 +00:00
image: maintainer/repo:tag
2020-08-18 14:40:38 +00:00
# will get restarted
2020-08-18 13:56:58 +00:00
restart: unless-stopped
2020-08-18 14:40:38 +00:00
# is also connected to the instance hub
networks:
- default
- kiwi_hub