Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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