version: '3.8'
services:
  fhirflare:
    build:
      context: .
      dockerfile: Dockerfile.lite
    ports:
      - "5000:5000"
      - "8080:8080"
    volumes:
      - ./instance:/app/instance
      - ./static/uploads:/app/static/uploads
      - ./logs:/app/logs
    environment:
      - FLASK_APP=app.py
      - FLASK_ENV=development
      - NODE_PATH=/usr/lib/node_modules
      - APP_MODE=standalone
      - APP_BASE_URL=http://localhost:5000
      - HAPI_FHIR_URL=https://fhir.hl7.org.au/aucore/fhir/DEFAULT/
    command: supervisord -c /etc/supervisord.conf
