1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
version: "3.9" services: redis: image: redis celery: image: yetsam build: dockerfile: ./Dockerfile restart: always command: celery -A app.tasks worker --loglevel=info yetsam: image: yetsam volumes: - ./static:/app/static \ build: dockerfile: ./Dockerfile restart: always ports: - 8000:8000