hunk.code_window: configApiGetHandler serverCtx@ServerCtx{..} consoleAssetsDir =
     Spock.get "v1alpha1/config" $ mkSpockAction serverCtx encodeQErr id $
       mkGetHandler $ do
         onlyAdmin
         let res = runGetConfig scFunctionPermsCtx scRemoteSchemaPermsCtx scAuthMode scEnableAllowlist
                   (EL._lqsOptions $ scLQState) consoleAssetsDir
         return $ JSONResp $ HttpResponse (encJFromJValue res) []
   data HasuraApp
     = HasuraApp
     { _hapApplication      :: !Wai.Application
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:                 (EL._lqsOptions $ scLQState) consoleAssetsDir scExperimentalFeatures
  
hunk.file_path: server/src-lib/Hasura/Server/App.hs
hunk.type: replace
file: version: '3.6'
  services:
    postgres:
      image: postgres:12
      restart: always
      environment:
        POSTGRES_PASSWORD: postgrespassword
    graphql-engine:
      container_name: graphql-engine
      image: cli-migrations-v2
      ports:
      - "8080:8080"
      depends_on:
      - "postgres"
      restart: always
      environment:
        HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres
        HASURA_GRAPHQL_ENABLE_CONSOLE: "true" # set to "false" to disable console
        HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log