Created
February 13, 2020 14:07
-
-
Save daniel-butler/139592d4424d191924ecec7cdf5e0ef1 to your computer and use it in GitHub Desktop.
Electronic Payments docker-compose file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
app: | |
build: | |
context: . | |
dockerfile: deploy/app/Dockerfile | |
depends_on: | |
- mailhog | |
- selenium-hub | |
environment: | |
- EMAIL_HOST=mailhog | |
- FLASK_APP=disbursement.http_api.py | |
- FLASK_ENV=development | |
- USE_AUTH=False | |
- USE_DOT_ENV_FILE=False | |
- CI=True | |
- BATCH_LOAD_FILE_SAVE_LOCATION=/tmp | |
- CONNECT_REMITTANCE_HOT_FOLDER=/tmp | |
- IMPORT_JE_SAVE_LOCATION=/tmp | |
volumes: | |
- ./src:/src | |
- ./tests:/tests | |
ports: | |
- "5000:5000" | |
- "5050:5050" | |
stdin_open: true | |
command: bash -c "alembic upgrade head && flask run --host 0.0.0.0" | |
mailhog: | |
image: mailhog/mailhog | |
expose: | |
- "1025" | |
- "8025" | |
ports: | |
- "11025:1025" | |
- "18025:8025" | |
selenium-hub: | |
restart: always | |
image: selenium/hub:latest | |
ports: | |
- "4444:4444" | |
selenium-chrome: | |
restart: always | |
image: selenium/node-chrome-debug | |
stdin_open: true | |
links: | |
- selenium-hub:hub | |
environment: | |
- HUB_HOST=selenium-hub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment