# 
# Note: This is a docker-compose.yml override file to start more servers in development, e.g. CS2. To run this:
#   docker-compose -f docker-compose.yml -f docker-compose.servers.yml up
#
version: '2.2'
services:
  test-container-networking:
    image: alpine:latest
    volumes:
      - ./:/test:ro
    networks:
      - default
    stop_signal: SIGKILL
    working_dir: /test
    entrypoint:
      - /bin/sh
    command:
      - -c
      - |
          sleep infinity

  test-host-networking:
    image: alpine:latest
    volumes:
      - ./:/test:ro
    network_mode: host
    stop_signal: SIGKILL
    working_dir: /test
    entrypoint:
      - /bin/sh
    command:
      - -c
      - |
          sleep infinity
          
networks:
  default:
    driver: bridge
    ipam:
     config:
       - subnet: 10.5.0.0/16
         gateway: 10.5.0.1
