<commit_before>shareddatadev:
  image: buildpack-deps:jessie
  command: /bin/true
  volumes:
    # as noted in https://docs.docker.com/userguide/dockervolumes/#mount-a-host-file-as-a-data-volume
    # the parent directory should be mounted, not the directories itself
    # otherwise we get OSError: Device or resource busy
    - /data
    # database
    - /database/data
    # temporary results directory used as pipe between multiple docker forests
    - /tmp/osmaxx-results:/results
    # emails file from email sending during development and testing
    - /tmp/osmaxx-development-emails:/dev-emails
  net: "none"

sourcedev:
  build: docker/volume-mount
  volumes:
    - ./osmaxx-py:/home/osmaxx/source

webappdev:
  extends:
    file: compose-common.yml
    service: base
  command: honcho start -f Procfile.django.dev
  ports:
    - "8000:8000"
  expose:
    - "8000"
  volumes_from:
    - sourcedev
    - shareddatadev
  links:
    - rabbitmqdev:rabbit
    - databasedev:database
    - celerydev:celery
  external_links:
    - osmaxxpostgisconversion_api_1:conversion_service
  environment:
    - DJANGO_SETTINGS_MODULE=config.settings.local
    - DJANGO_DEBUG=true
    - DJANGO_DEFAULT_FROM_EMAIL=<EMAIL>
    - DJANGO_SERVER_EMAIL=<EMAIL>
    - DJANGO_EMAIL_FILE_PATH=/dev-emails
    - DJANGO_EMAIL_BACKEND=django.core.mail.backends.filebased.EmailBackend
    - DJANGO_SECRET_KEY=my.secret.key.is.not.secret!
    - DJANGO_OSMAXX_CONVERSION_SERVICE_URL=http://conversion_service:8901/api/

celerydev:
  extends:
    file: compose-common.yml
    service: base
  command: honcho start -f Procfile.celery
  volumes:<commit_msg>add environment vars for auth for conversion service<commit_after>shareddatadev:
  image: buildpack-deps:jessie
  command: /bin/true
  volumes:
    # as noted in https://docs.docker.com/userguide/dockervolumes/#mount-a-host-file-as-a-data-volume
    # the parent directory should be mounted, not the directories itself
    # otherwise we get OSError: Device or resource busy
    - /data
    # database
    - /database/data
    # temporary results directory used as pipe between multiple docker forests
    - /tmp/osmaxx-results:/results
    # emails file from email sending during development and testing
    - /tmp/osmaxx-development-emails:/dev-emails
  net: "none"

sourcedev:
  build: docker/volume-mount
  volumes:
    - ./osmaxx-py:/home/osmaxx/source

webappdev:
  extends:
    file: compose-common.yml
    service: base
  command: honcho start -f Procfile.django.dev
  ports:
    - "8000:8000"
  expose:
    - "8000"
  volumes_from:
    - sourcedev
    - shareddatadev
  links:
    - rabbitmqdev:rabbit
    - databasedev:database
    - celerydev:celery
  external_links:
    - osmaxxpostgisconversion_api_1:conversion_service
  environment:
    - DJANGO_SETTINGS_MODULE=config.settings.local
    - DJANGO_DEBUG=true
    - DJANGO_DEFAULT_FROM_EMAIL=<EMAIL>
    - DJANGO_SERVER_EMAIL=<EMAIL>
    - DJANGO_EMAIL_FILE_PATH=/dev-emails
    - DJANGO_EMAIL_BACKEND=django.core.mail.backends.filebased.EmailBackend
    - DJANGO_SECRET_KEY=my.secret.key.is.not.secret!
    - DJANGO_OSMAXX_CONVERSION_SERVICE_URL=http://conversion_service:8901/api/
    - DJANGO_OSMAXX_CONVERSION_SERVICE_USERNAME=osmaxx
    - DJANGO_OSMAXX_CONVERSION_SERVICE_PASSWORD=<PASSWORD>

celerydev:
  extends:
    file: compose-common.yml
    service: base
  command: honcho start -f Procfile.celery
  volumes:
{'fraction_non_alphanumeric': 0.09194729136163983, 'fraction_numerical': 0.009956076134699853, 'mean_word_length': 3.402061855670103, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 2, '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': '5795525', 'n_tokens_mistral': 1245, 'n_tokens_neox': 1192, 'n_words': 216}