Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: https://doc.scheer-pas.com/display/WINSTALLATION/.Installing+the+Bridge+Docker+v1.0.6_bridge?focusedCommentId=69861451&src=mail&src.mail.product=confluence-server&src.mail.timestamp=1571310000190&src.mail.notification=com.atlassian.confluence.plugins.confluence-notifications-batch-plugin%3Abatching-notification&src.mail.recipient=2c91838b66e35f260166e379b65e0000&src.mail.action=view#comment-69861451

...

  1. Create a folder to contain the BRIDGE Docker configuration.

    Info

    Please note that the docker-compose project is named after this folder, and also the created Docker containers. Naming convention for the Docker containers is: <docker-compose project name>_bridge_1.

  2. Create a file docker-compose.yml to the previously created folder. This file should have the following content:

    Code Block
    linenumberstrue
    version: '2.1'
    services:
      bridge:
        image: 'bridge:<version>'
        hostname: '<your hostname>'
        restart: always
        ports:
          - '<your host port>:8080'
          - '<your host proxy port>:<Docker BRIDGE proxy port>'
        volumes:
          - 'bridge_data:/opt/e2e_bridge_data/'
    volumes:
      bridge_data:
        driver: local

    Change the settings of this file as described below.

    LineSettingDescriptionAllowed Values / Example
    4services/imageProvide the version of the Docker image.'bridge:7.5.1'
    5services/bridge/hostname Provide your BRIDGE hostname (that matches with the BRIDGE license).hostname: 'bridge.e2e.ch'
    6services/bridge/restart Define if the BRIDGE Docker container should be started automatically on host reboot. Delete this line, if you do not want to start the container automatically.alwaysRestart BRIDGE container on host reboot.
    7-9services/bridge/ports 

    Map the BRIDGE Docker ports to the ports of the host like <your host port>:<Docker BRIDGE port>.

    Info

    Mapping the BRIDGE port is the minimal configuration needed, you can add more port mappings if necessary. We recommend to route all service calls via the same proxy, so at least one more proxy mapping will be needed (as shown in the example).

    ports:
      - '18080:8080'
      - '1443:443'

...