docker-compose.yml 1.23 KB
Newer Older
Bernhard Rumpe's avatar
BR-sy  
Bernhard Rumpe committed
1
# (c) https://github.com/MontiCore/monticore  
ham's avatar
ham committed
2 3 4
version: "3"

services:
hengwen's avatar
hengwen committed
5
  zoo1:
hengwen's avatar
hengwen committed
6
    image: zookeeper:3.4
hengwen's avatar
hengwen committed
7 8 9 10 11 12
    restart: always
    hostname: zoo1
    environment:
      ZOO_MY_ID: 1
      ZOO_SERVERS: server.1=0.0.0.0:2888:3888

ham's avatar
ham committed
13
  rmi-server:
hengwen's avatar
hengwen committed
14
    image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/simulators/rmimodelserver:latest
hengwen's avatar
hengwen committed
15 16 17 18
    depends_on:
      - zoo1
    restart: always
    environment:
hengwen's avatar
hengwen committed
19 20 21 22 23 24 25 26 27 28 29 30
      ZOO_SERVERS: zoo1:2181
    entrypoint:
      - java
      - -cp
      - rmi-model-server.jar
      - -Djava.rmi.server.codebase=file:rmi-model-server.jar
      - -Djava.rmi.server.useLocalHostname
      - rwth.rmi.model.server.RMIServer
      - "10101"
      - autopilots
      - no_time
      - os=linux
hengwen's avatar
hengwen committed
31

hengwen's avatar
hengwen committed
32
  rpc-server:
hengwen's avatar
hengwen committed
33 34 35 36 37 38 39 40 41 42 43 44
    image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/simulators/server:rpc
    depends_on:
      - zoo1
    restart: always
    environment:
      ZOO_SERVERS: zoo1:2181
      # uncomment below to enable multi-sector trajectory re-planning
  #      SIM_SERVER: server
  #      SIM_PORT: 8090

  server:
    image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/simulators/server:restful
hengwen's avatar
hengwen committed
45 46
    depends_on:
      - zoo1
hengwen's avatar
hengwen committed
47 48
    ports:
      - 8090:8090
hengwen's avatar
hengwen committed
49
    restart: always
ham's avatar
ham committed
50
    environment:
hengwen's avatar
hengwen committed
51
      ZOO_SERVERS: zoo1:2181