version: '3'

services:
  google-cloud-storage:
    image: fsouza/fake-gcs-server
    restart: always
    command:
      [
        '-scheme',
        'http',
        '-port',
        '4443',
        '-public-host',
        'http://localhost:4443',
        '-external-url',
        'http://localhost:4443',
        '-backend',
        'memory',
      ]
    ports:
      - '4443:4443'
    volumes:
      - ./google-cloud-storage/payload-bucket:/data/payload-bucket

volumes:
  google-cloud-storage:
