integration-tester:
  build: .
  command: s3
  links:
    - georocket_s3
    - s3

georocket_s3:
  image: georocket/georocket
  volumes:
    - ./conf/georocket_s3:/usr/local/georocket-server/conf
  links:
    - s3

s3:
  image: scality/s3server:mem-latest
  # Allow s3 server to be accessed through the "s3" domain name.
  # If we don't add the domain name to the config file the server will
  # fail with an authentication error.
  command: bash -c "node -e \"var conf = require('./config.json'), fs = require('fs'); conf.regions.specifiedregion = ['s3']; fs.writeFileSync('config.json', JSON.stringify(conf, undefined, 2));\" && npm start"

integration-tester:
  build: .
  command: s3
  links:
    - georocket_s3
    - s3

georocket_s3:
  image: georocket/georocket
  volumes:
    - ./conf/georocket_s3:/usr/local/georocket-server/conf
  links:
    - s3

s3:
  image: scality/s3server:mem-latest
  # Allow s3 server to be accessed through the "s3" domain name.
  # If we don't add the domain name to the config file the server will
  # fail with an authentication error.
  command: bash -c "node -e \"var conf = require('./config.json'), fs = require('fs'); conf.restEndpoints.s3 = 'file'; fs.writeFileSync('config.json', JSON.stringify(conf, undefined, 2));\" && npm start"

Fix integration tests for S3
Fix integration tests for S3
