1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-22 21:03:00 +00:00
kiwi-scp/kiwi_scp/data/etc/docker-compose_default.yml

23 lines
405 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:
2020-08-20 13:29:07 +00:00
name: ${KIWI_HUB_NAME}
2020-08-18 13:56:58 +00:00
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