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

27 lines
480 B
YAML
Raw Normal View History

2020-08-18 13:56:58 +00:00
version: "2"
networks:
# reachable from outside
default:
driver: bridge
2021-09-28 21:00:30 +00:00
# interconnect projects
2020-08-18 13:56:58 +00:00
kiwi_hub:
external:
2020-08-20 13:29:07 +00:00
name: ${KIWI_HUB_NAME}
2020-08-18 13:56:58 +00:00
services:
2022-01-20 09:21:05 +00:00
######################
# START EDITING HERE #
######################
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