-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
I want to link the same container to different clusters (eg. to have a shared dbms among all the clusters).
Is it possible? How can I do that?
This is my current configuration:
containers:
a:
image: a
dependencies:
- b
b:
image: b
dependencies:
- db
db:
image: db
clusters:
c1: ["a", "b"]
c2: ["a", "b"]
groups:
c1:
options:
env: ["CLUSTER_NAME=c1"]
containers:
c2:
options:
env: ["CLUSTER_NAME=c2"]
containers:
and I would like to have only one container for db linked both from b.c1 and b.c2. But if I try to create and run the clusters:
# decking build all
# decking create c1
# decking create c2
# decking start c1
# decking start c2I get 6 containers running:
- a.c1, b.c1, db.c1,
- a.c2, b.c2, db.c2
Metadata
Metadata
Assignees
Labels
No labels