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

22 lines
405 B
YAML

version: "2"
networks:
# reachable from outside
default:
driver: bridge
# interconnects projects
kiwi_hub:
external:
name: ${KIWI_HUB_NAME}
services:
# an example service
something:
# uses an image
image: maintainer/repo:tag
# will get restarted
restart: unless-stopped
# is also connected to the instance hub
networks:
- default
- kiwi_hub