services:
  graphql:
    build: .
    image: graphql
    container_name: graphql
    restart: unless-stopped
    network_mode: 'host'
    # ports:
    #   - '127.0.0.1:6000:3000'
    # volumes:
    #   - './:/webapp/'
    environment:
      COUCHDB_USER: ${COUCHDB_USER} # change this to match your system's ENV
      COUCHDB_PASSWORD: ${COUCHDB_PASSWORD} # change this to match your system's ENV
      HOST: 0.0.0.0
      PORT: 6000
    logging: # apply better controls to Docker overlay folder
      driver: 'json-file'
      options:
        max-file: '5'
        max-size: '10m'
