<commit_before>version: "3"

services:
  postgres:
    image: postgres:11-alpine
    environment:
      POSTGRES_USER: dnote
      POSTGRES_PASSWORD: <PASSWORD>
      POSTGRES_DB: dnote
    volumes:
      - ./dnote_data:/var/lib/postgresql/data
    restart: always

  dnote:
    image: dnote/dnote:1.0.1
    environment:
      GO_ENV: PRODUCTION
      DBSkipSSL: "true"
      DBHost: postgres
      DBPort: 5432
      DBName: dnote
      DBUser: dnote
      DBPassword: <PASSWORD>
      WebURL: localhost:3000
      OnPremise: "true"
      SmtpHost:
      SmtpPort:
      SmtpUsername:
      SmtpPassword:
      DisableRegistration: "false"
    ports:
      - 3000:3000
    depends_on:
      - postgres
    restart: always<commit_msg>Update docker-compose.yml to pull latest version (#477)<commit_after>version: "3"

services:
  postgres:
    image: postgres:11-alpine
    environment:
      POSTGRES_USER: dnote
      POSTGRES_PASSWORD: <PASSWORD>
      POSTGRES_DB: dnote
    volumes:
      - ./dnote_data:/var/lib/postgresql/data
    restart: always

  dnote:
    image: dnote/dnote:latest
    environment:
      GO_ENV: PRODUCTION
      DBSkipSSL: "true"
      DBHost: postgres
      DBPort: 5432
      DBName: dnote
      DBUser: dnote
      DBPassword: <PASSWORD>
      WebURL: localhost:3000
      OnPremise: "true"
      SmtpHost:
      SmtpPort:
      SmtpUsername:
      SmtpPassword:
      DisableRegistration: "false"
    ports:
      - 3000:3000
    depends_on:
      - postgres
    restart: always
{'fraction_non_alphanumeric': 0.08537392455327597, 'fraction_numerical': 0.02911978821972204, 'mean_word_length': 2.265658747300216, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '2243873', 'n_tokens_mistral': 575, 'n_tokens_neox': 532, 'n_words': 107}