Skip to content
Snippets Groups Projects
Select Git revision
  • a928eb2376259a431af098278ad333e4a2b10915
  • main default protected
  • jw_sonar
  • v6.0.0 protected
  • interactive-mode-preference
  • bedran_exercise-list
  • add_route_user
  • Jw_sonar_backup
  • exercise_list_filter
  • assignment_filter
  • add_route_assignments
  • move-to-esm-only
  • 6.0.0-dev
  • Pre-alpha
  • 5.0.0
  • Latest
  • 4.2.0
  • 4.1.1
  • 4.1.0
  • 4.0.1
  • 4.0.0
  • 3.5.0
  • 3.4.2
  • 3.4.1
  • 3.3.0
  • 3.2.3
  • 3.2.2
  • 3.2.0
  • 3.1.2
  • 3.1.1
  • 3.1.0
  • 3.0.1
32 results

init.ts

Blame
  • docker-compose.yml 1.29 KiB
    version: '3.8'
    
    services:
      comm0:
        image: mohamadmoussa/comm_image:2.0
        configs:
          - source: neighborhood_config
            target: /etc/neighbors.json
        networks:
          - commNetwork
        deploy:
          placement:
            constraints:
              - node.hostname == ip-10-0-0-42
        environment:
          - NODE_ID=comm0
    
      comm1:
        image: mohamadmoussa/comm_image:2.0
        configs:
          - source: neighborhood_config
            target: /etc/neighbors.json
        networks:
          - commNetwork
        deploy:
          placement:
            constraints:
              - node.hostname == ip-10-0-0-163
        environment:
          - NODE_ID=comm1
    
      comm2:
        image: mohamadmoussa/comm_image:2.0
        configs:
          - source: neighborhood_config
            target: /etc/neighbors.json
        networks:
          - commNetwork
        deploy:
          placement:
            constraints:
              - node.hostname == ip-10-0-0-253
        environment:
          - NODE_ID=comm2
    
      comm3:
        image: mohamadmoussa/comm_image:2.0
        configs:
          - source: neighborhood_config
            target: /etc/neighbors.json
        networks:
          - commNetwork
        deploy:
          placement:
            constraints:
              - node.hostname == ip-10-0-0-74
        environment:
          - NODE_ID=comm3
    
    networks:
      commNetwork:
        driver: overlay
    
    configs:
      neighborhood_config:
        external: true