Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhoyer committed Aug 14, 2024
1 parent 9d07a90 commit 67eed75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
services:
web:
container_name: uvicorn
uvicorn:
build: .
command: uvicorn src.api:app --reload --host 0.0.0.0 --port 8000
environment:
- REDIS_URL=redis://redis:6379
- API_HOSTNAME=http://localhost:8000
ports:
- 8000:8000
depends_on:
- redis

redis:
container_name: redis
image: redis:latest
ports:
- 6379:6379

celery:
container_name: celery
build: .
command: celery --app=src.api.service worker --loglevel=INFO
environment:
Expand Down

0 comments on commit 67eed75

Please sign in to comment.