aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-03 20:50:12 +0200
committerHarald Welte <laforge@gnumonks.org>2017-05-03 20:50:12 +0200
commit1c64ec9d880b6a6c2bc517c97394310b4f4b43bc (patch)
tree8135b7953578160786bb92badf2980e6ba8ce391
parent06b09a1aa58bb468f226c4a2b5c1f56800924312 (diff)
add non-working yml file with service/stack description
-rw-r--r--tmp/docker-compose.yml48
1 files changed, 48 insertions, 0 deletions
diff --git a/tmp/docker-compose.yml b/tmp/docker-compose.yml
new file mode 100644
index 0000000..1c86dae
--- /dev/null
+++ b/tmp/docker-compose.yml
@@ -0,0 +1,48 @@
+# this is a (failed) attempt at starting three containers with static IP
+# addresses in an internal network
+#
+version: "3"
+services:
+ stp:
+ image: osmo-stp-master
+ deploy:
+ mode: global
+ restart_policy:
+ condition: none
+ networks:
+ sigtran:
+ ipv4_address: 172.18.0.200
+
+ m3ua:
+ image: m3ua-test
+ deploy:
+ mode: global
+ restart_policy:
+ condition: none
+ depends_on:
+ - stp
+ networks:
+ sigtran:
+ ipv4_address: 172.18.0.2
+
+ sua:
+ image: sua-test
+ deploy:
+ mode: global
+ restart_policy:
+ condition: none
+ depends_on:
+ - stp
+ networks:
+ sigtran:
+ ipv4_address: 172.18.0.3
+
+networks:
+ sigtran:
+ # this apparently was working in the past, but only overlay is
+ # supported now?
+ driver: bridge
+ ipam:
+ driver: default
+ config:
+ - subnet: 172.18.0.0/16