Skip to content

Commit

Permalink
fix(docs): update docker-compose.yml (#462)
Browse files Browse the repository at this point in the history
Fix and close #406

---------

Co-authored-by: Olivier Cervello <ocervello@freelabz.com>
  • Loading branch information
0xlildoudou and ocervell authored Nov 28, 2024
1 parent 988edcb commit 3140ee2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ secator --help
git clone https://github.com/freelabz/secator
cd secator
docker-compose up -d
docker-compose exec secator secator --help
docker-compose exec secator-client secator --help
```

</details>
Expand Down
7 changes: 5 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ services:

secator:
image: freelabz/secator:latest
container_name: secator-client
restart: unless-stopped
entrypoint: ""
command: tail -F anything
command: ['tail', '-F', '/dev/null']
environment:
- SECATOR_CELERY_BROKER_URL=redis://redis:6379/0
- SECATOR_CELERY_RESULT_BACKEND=redis://redis:6379/0
Expand All @@ -15,8 +16,9 @@ services:

worker:
image: freelabz/secator:latest
container_name: secator-worker
restart: unless-stopped
command: worker
command: ['worker']
environment:
- SECATOR_CELERY_BROKER_URL=redis://redis:6379/0
- SECATOR_CELERY_RESULT_BACKEND=redis://redis:6379/0
Expand All @@ -25,3 +27,4 @@ services:

redis:
image: redis:latest
container_name: secator-redis

0 comments on commit 3140ee2

Please sign in to comment.