Created
June 4, 2020 13:25
-
-
Save rohit-saharan/fd0bf1e4f45bc5362799a0358306eb7a to your computer and use it in GitHub Desktop.
This file contains 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: '2.0' | |
services: | |
worker: | |
image: python:3.8-alpine | |
command: ash -c "apk add --no-cache build-base libcurl curl-dev; pip3 install -r requirements.txt; celery -A tasks worker --loglevel=info" | |
volumes: | |
- "./app:/app" | |
working_dir: /app | |
restart: on-failure | |
environment: | |
- AWS_ACCESS_KEY_ID | |
- AWS_SECRET_ACCESS_KEY | |
- AWS_REGION | |
- SQS_URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment