services: redis: image: redis:7 postgres: env_file: - .env image: postgres:16 celery: build: context: . env_file: - .env command: celery -A make_celery worker --loglevel INFO depends_on: - redis web: build: context: . env_file: - .env command: gunicorn --bind 0.0.0.0:5000 "app:create_app()" ports: - 5000:5000 depends_on: - celery - postgres