Created
July 27, 2020 10:18
-
-
Save inovizz/39e6b4b922024dc132a802ba4924207d 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: '3.8' | |
services: | |
redis: | |
image: redis:latest | |
networks: | |
- main | |
ports: | |
- "6379:6379" | |
app: | |
build: | |
context: ./flask_api/ | |
dockerfile: Dockerfile | |
image: inovizz/flask_service | |
depends_on: | |
- redis | |
- celery_service | |
ports: | |
- "5001:5001" | |
links: | |
- redis:redis | |
networks: | |
- main | |
celery_service: | |
build: | |
context: ./taskqueue/ | |
dockerfile: Dockerfile | |
image: inovizz/celery_service | |
depends_on: | |
- redis | |
links: | |
- redis:redis | |
networks: | |
- main | |
networks: | |
main: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment