services:
  ows-url-shortener:
    build:
      context: .
      target: deploy
    ports:
      - '8001:8080'
    environment:
      APP_DEBUG: 'true'
      PORT: 8080
      Environment: dev
      AUTH_ALLOW_FULL_ACCESS: 'true'
      JWT_AUTH_ENABLED: 'false'
      LOG_FORMAT: 'console'

  lint-and-test:
    build:
      context: .
      target: lint-and-test
    environment:
      RUN_WITH_LINT_AND_TEST: 'true'
    volumes:
      - ./build:/app/build
