<commit_before>version: '2'

services:
  queue:
    image: redis:3.2.5-alpine
    volumes:
      - queue:/data
    networks:
      - backend
  github-receive:
    build:
      context: .
      dockerfile: Dockerfile.onbuild
    depends_on:
      - queue
    env_file:
      - github-secret.env
    environment:
      - REDIS_URL=queue:6379
    networks:
      - frontends
      - backend
    labels:
      - "ingress=true"
      - "ingress.dnsname=github-receive.zetaron.de"
      - "ingress.targetport=80"

volumes:
  queue:
    driver: local

networks:
  backend:
    driver: overlay
  frontends:
    external:
      name: frontends<commit_msg>Have the default docker-compose.yml production ready<commit_after>version: '2'

services:
  queue:
    image: redis:3.2.5-alpine
    volumes:
      - queue:/data
    networks:
      - backend
  github-hook-receiver:
    image: zetaron/github-hook-receiver:1.0.0
    volumes:
      - secrets:/var/cache/secrets:ro
    depends_on:
      - queue
    environment:
      - REDIS_URL=queue:6379
    networks:
      - frontends
      - backend
    labels:
      - "ingress=true"
      - "ingress.dnsname=github-receive.zetaron.de"
      - "ingress.targetport=80"

volumes:
  queue:
    driver: local
  secrets:
    external:
      name: github-hook-receiver-secrets

networks:
  backend:
    driver: overlay
  frontends:
    external:
      name: frontends
{'fraction_non_alphanumeric': 0.10465949820788531, 'fraction_numerical': 0.016487455197132617, 'mean_word_length': 2.1512415349887135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5129749', 'n_tokens_mistral': 507, 'n_tokens_neox': 488, 'n_words': 86}