mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-24 05:33:00 +00:00
26 lines
480 B
YAML
26 lines
480 B
YAML
version: "2"
|
|
|
|
networks:
|
|
# reachable from outside
|
|
default:
|
|
driver: bridge
|
|
# interconnect projects
|
|
kiwi_hub:
|
|
external:
|
|
name: ${KIWI_HUB_NAME}
|
|
|
|
services:
|
|
######################
|
|
# START EDITING HERE #
|
|
######################
|
|
|
|
# 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
|