
version: '2.2'

services:

  runner-client:
    build:
      context: test_client
    user: nobody
    image: cyberdojo/runner-client
    init: true
    container_name: test-runner-client
    read_only: true
    tmpfs: /tmp
    restart: 'no'
    ports: [4598:4598] # for demo
    depends_on:
      - runner-server

  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  runner-server:
    build:
      context: .
      args:
        - SHA
    user: root
    image: cyberdojo/runner
    init: true
    container_name: test-runner-server
    environment: [NO_PROMETHEUS,CIRCLECI] # turn off known warning on CircleCI
    ports: [4597:4597]
    read_only: true
    tmpfs: /tmp
    restart: 'no'
    volumes:
      - ./test_server:/app/test:ro
      - /var/run/docker.sock:/var/run/docker.sock


version: '2.2'

services:

  runner-client:
    build:
      context: test_client
    user: nobody
    image: cyberdojo/runner-client
    init: true
    container_name: test-runner-client
    read_only: true
    tmpfs: /tmp
    restart: 'no'
    ports:
      - 4598:4598 # for demo
    depends_on:
      - runner-server

  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  runner-server:
    build:
      context: .
      args:
        - SHA
    user: root
    image: cyberdojo/runner
    init: true
    container_name: test-runner-server
    environment: [NO_PROMETHEUS,CIRCLECI] # turn off known warning on CircleCI
    ports:
      - 4597:4597
    read_only: true
    tmpfs: /tmp
    restart: 'no'
    volumes:
      - ./test_server:/app/test:ro
      - /var/run/docker.sock:/var/run/docker.sock

Use simpler yml for CircleCI
Use simpler yml for CircleCI
