<commit_before>app_env: development
services:
  - general_db
  - log_db
  - router
  - web
user: api-umbrella
group: api-umbrella
http_port: 80
https_port: 443
etc_dir: /opt/api-umbrella/etc
log_dir: /opt/api-umbrella/var/log
run_dir: /opt/api-umbrella/var/run
tmp_dir: /opt/api-umbrella/var/tmp
db_dir: /opt/api-umbrella/var/db
redis:
  host: 127.0.0.1
  port: 50379
nginx:
  workers: 4
gatekeeper:
  workers: 4
varnish:
  port: 51700
  backend:
    host: localhost
    port: 50100
web:
  host: 127.0.0.1
  port: 51000
  dir: /vagrant/workspace/web
  puma:
    bind: "unix:///opt/api-umbrella/var/run/puma.sock"
    workers: 2
    min_threads: 2
    max_threads: 24
  admin:
    auth_strategies:
      enabled:
        - github
        - google
        - persona
      facebook:
        client_id:
        client_secret:
      github:
        client_id:
        client_secret:
      google:
        client_id:
        client_secret:
static_site:
  host: 127.0.0.1
  port: 51010
  host_header:
  dir: /vagrant/workspace/static-site
router:
  api_backends:
    port: 50100
hosts:
  - hostname: api.vagrant
    ssl_cert: /etc/ssl/certs/vagrant.crt
    ssl_cert_key: /etc/ssl/certs/vagrant.key
  - hostname: localhost
    ssl_cert: /etc/ssl/certs/vagrant.crt
    ssl_cert_key: /etc/ssl/certs/vagrant.key
mongodb:
  url: "mongodb://127.0.0.1:50217/api_umbrella_development"
  options:
    server:
      socketOptions:
        keepAlive: 500
    replset:
      socketOptions:
        keepAlive: 500
  embedded_server_config:
    port: 50217
elasticsearch:
  hosts:
    - "http://127.0.0.1:50200"
  embedded_server_config:
    http_port: 50200
    transport_tcp_port: 50300
trustedProxies:
  - 127.0.0.1
proxy:
  host: 127.0.0.1
  port: 4000
  target: "127.0.0.1:51700"
  apiKeyMethods:
    - header<commit_msg>Remove vagrant-specific configuration.<commit_after>app_env: development
services:
  - general_db
  - log_db
  - router
  - web
user: api-umbrella
group: api-umbrella
http_port: 80
https_port: 443
etc_dir: /opt/api-umbrella/etc
log_dir: /opt/api-umbrella/var/log
run_dir: /opt/api-umbrella/var/run
tmp_dir: /opt/api-umbrella/var/tmp
db_dir: /opt/api-umbrella/var/db
redis:
  host: 127.0.0.1
  port: 50379
nginx:
  workers: 4
gatekeeper:
  workers: 4
varnish:
  port: 51700
  backend:
    host: localhost
    port: 50100
web:
  host: 127.0.0.1
  port: 51000
  dir: /opt/api-umbrella/embedded/apps/web/current
  puma:
    bind: "unix:///opt/api-umbrella/var/run/puma.sock"
    workers: 2
    min_threads: 2
    max_threads: 24
  admin:
    auth_strategies:
      enabled:
        - github
        - google
        - persona
      facebook:
        client_id:
        client_secret:
      github:
        client_id:
        client_secret:
      google:
        client_id:
        client_secret:
static_site:
  host: 127.0.0.1
  port: 51010
  host_header:
  dir: /opt/api-umbrella/embedded/apps/static-site/current
router:
  api_backends:
    port: 50100
hosts:
  - hostname: localhost
mongodb:
  url: "mongodb://127.0.0.1:50217/api_umbrella_development"
  options:
    server:
      socketOptions:
        keepAlive: 500
    replset:
      socketOptions:
        keepAlive: 500
  embedded_server_config:
    port: 50217
elasticsearch:
  hosts:
    - "http://127.0.0.1:50200"
  embedded_server_config:
    http_port: 50200
    transport_tcp_port: 50300
trustedProxies:
  - 127.0.0.1
proxy:
  host: 127.0.0.1
  port: 4000
  target: "127.0.0.1:51700"
  apiKeyMethods:
    - header
{'fraction_non_alphanumeric': 0.11123886174187984, 'fraction_numerical': 0.07415924116125323, 'mean_word_length': 2.522267206477733, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 16, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2050976', 'n_tokens_mistral': 1579, 'n_tokens_neox': 1384, 'n_words': 259}