Skip to content
Snippets Groups Projects
Select Git revision
  • fa4b6c4762d2ba1d11c89a1bfab42c1d0b2bfcfe
  • master default protected
  • control-single-hba-and-lba
  • L2SS-1957-remove-pcon-control
  • stabilise-landing-page
  • all-stations-lofar2
  • L2SS-2357-fix-ruff
  • v0.39.7-backports
  • Move-sdptr-to-v1.5.0
  • fix-build-ubuntu
  • tokens-in-env-files
  • fix-build
  • L2SS-2214-deploy-cdb
  • fix-missing-init
  • add-power-hardware-apply
  • L2SS-2129-Add-Subrack-Routine
  • Also-listen-internal-to-rpc
  • fix-build-dind
  • L2SS-2153--Improve-Error-Handling
  • L2SS-2153-Add-Grpc-Gateway-support
  • L2SS-1970-apsct-lol
  • v0.52.3 protected
  • v0.52.3dev0 protected
  • 0.53.1dev0
  • v0.52.2-rc3 protected
  • v0.52.2-rc2 protected
  • v0.52.2-rc1 protected
  • v0.52.1.1 protected
  • v0.52.1 protected
  • v0.52.1-rc1 protected
  • v0.51.9-6 protected
  • v0.51.9-5 protected
  • v0.51.9-4 protected
  • v0.51.9-3 protected
  • v0.51.9-2 protected
  • v0.51.9-1 protected
  • v0.51.9 protected
  • v0.51.8 protected
  • v0.39.15-wsrttwo protected
  • v0.39.15-wsrt protected
  • v0.39.14-wsrt protected
41 results

device-recv.yml

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    device-recv.yml 1.32 KiB
    #
    # Docker compose file that launches an interactive iTango session.
    #
    # Connect to the interactive session with 'docker attach itango'.
    # Disconnect with the Docker deattach sequence: <CTRL>+<P> <CTRL>+<Q>
    #
    # Defines:
    #   - itango: iTango interactive session
    #
    # Requires:
    #   - lofar-device-base.yml
    #
    version: '2'
    
    services:
      device-recv:
        image: device-recv
        # build explicitly, as docker-compose does not understand a local image
        # being shared among services.
        build:
            context: lofar-device-base
            args:
                SOURCE_IMAGE: ${DOCKER_REGISTRY_HOST}/${DOCKER_REGISTRY_USER}-tango-itango:${TANGO_ITANGO_VERSION}
        container_name: ${CONTAINER_NAME_PREFIX}device-recv
        networks:
          - control
        ports:
          - "5707:5707" # unique port for this DS
        volumes:
            - ..:/opt/lofar/tango:rw
        environment:
          - TANGO_HOST=${TANGO_HOST}
        entrypoint:
          - /usr/local/bin/wait-for-it.sh
          - ${TANGO_HOST}
          - --timeout=30
          - --strict
          - --
          # configure CORBA to _listen_ on 0:port, but tell others we're _reachable_ through ${HOSTNAME}:port, since CORBA
          # can't know about our Docker port forwarding
          - python3 -u /opt/lofar/tango/devices/devices/recv.py LTS -v -ORBendPoint giop:tcp:0:5707 -ORBendPointPublish giop:tcp:${HOSTNAME}:5707
        restart: on-failure