Skip to content

Commit

Permalink
Delete celery application
Browse files Browse the repository at this point in the history
  • Loading branch information
okeneo committed Oct 3, 2024
1 parent 3c5a771 commit d639f6f
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 54 deletions.
1 change: 0 additions & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ RUN pip install -r requirements.txt
COPY . /api

RUN chmod +x ./entrypoint-api.sh
RUN chmod +x ./entrypoint-celery.sh

RUN chown -R myuser:myuser /api

Expand Down
13 changes: 0 additions & 13 deletions api/account/tasks.py

This file was deleted.

3 changes: 0 additions & 3 deletions api/entrypoint-celery.sh

This file was deleted.

3 changes: 0 additions & 3 deletions api/myproject/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
from .celery import app as celery_app

__all__ = ("celery_app",)
7 changes: 0 additions & 7 deletions api/myproject/celery.py

This file was deleted.

1 change: 0 additions & 1 deletion api/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
amqp==5.2.0
asgiref==3.7.2
billiard==4.2.0
celery==5.3.6
cffi==1.16.0
click==8.1.7
click-didyoumean==0.3.0
Expand Down
13 changes: 0 additions & 13 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@ services:
depends_on:
- postgres-db

celery:
build:
context: ./api
dockerfile: Dockerfile
image: personalnest-celery:1.0
entrypoint: ./entrypoint-celery.sh
environment:
- CELERY_BROKER=redis://redis:6379/0
env_file: .env.dev
depends_on:
- api
- redis

redis:
image: redis:7.2.4-alpine
command: redis-server
Expand Down
13 changes: 0 additions & 13 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@ services:
depends_on:
- postgres-db

celery:
build:
context: ./api
dockerfile: Dockerfile
image: personalnest-celery:1.0
entrypoint: ./entrypoint-celery.sh
environment:
- CELERY_BROKER=redis://redis:6379/0
env_file: .env.prod
depends_on:
- api
- redis

redis:
image: redis:7.2.4-alpine
command: redis-server
Expand Down

0 comments on commit d639f6f

Please sign in to comment.