- Copy .env.example to .env and populate with your values.
cp .env.example .env
- Run docker compose to build and run the container:
docker compose up
# or
sudo docker compose up --build
- Flower Dashboard: http://localhost:5555
- Celery Beat: http://localhost:8000/
curl -X POST \
'http://localhost:5555/api/task/async-apply/scraper_task' \
-u "admin:password" \
-d '{"args": ["task_name"]}'
for example:
curl -X POST \
'http://localhost:5555/api/task/async-apply/scraper_task' \
-u "admin:password" \
-d '{"args": ["sample"]}'
- Install SOPS:
brew install sops
- Decrypt the environment file:
sops --config .sops/sops.yaml -d -i .sops/prod.env
-
Fill in the missing values in the
values.env
file. -
Encrypt the environment file:
sops --config .sops/sops.yaml -e -i .sops/prod.env