aboutsummaryrefslogtreecommitdiffstats
path: root/tmp/docker-compose.yml
blob: 1c86dae9914e6f46f31ce5c8769f1679182f9691 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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