Skip to content

Commit

Permalink
Clean up Docker Compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
n-thumann committed Nov 23, 2023
1 parent ab0cc06 commit 018323c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
9 changes: 4 additions & 5 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ services:

redis:
image: "redis:alpine"
hostname: redis
restart: always
networks:
- rengine_network

celery:
build:
context: ./web
build: ./web
image: yogeshojha/rengine:master
restart: always
entrypoint: /usr/src/app/celery-entrypoint.sh
Expand Down Expand Up @@ -58,6 +57,7 @@ services:
celery-beat:
build: ./web
image: yogeshojha/rengine:master
restart: always
entrypoint: /usr/src/app/beat-entrypoint.sh
command: celery -A reNgine beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler
depends_on:
Expand All @@ -83,8 +83,7 @@ services:
- rengine_network

web:
build:
context: ./web
build: ./web
entrypoint: /usr/src/app/entrypoint.sh
restart: always
image: yogeshojha/rengine:master
Expand Down
10 changes: 4 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ services:

redis:
image: "redis:alpine"
restart: always
hostname: redis
networks:
- rengine_network

celery:
build:
context: ./web
build: ./web
image: yogeshojha/rengine:master
restart: always
entrypoint: /usr/src/app/celery-entrypoint.sh
Expand Down Expand Up @@ -57,6 +57,7 @@ services:
celery-beat:
build: ./web
image: yogeshojha/rengine:master
restart: always
entrypoint: /usr/src/app/beat-entrypoint.sh
command: celery -A reNgine beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler
environment:
Expand All @@ -81,8 +82,7 @@ services:
- rengine_network

web:
build:
context: ./web
build: ./web
entrypoint: /usr/src/app/entrypoint.sh
restart: always
image: yogeshojha/rengine:master
Expand All @@ -108,8 +108,6 @@ services:
- nuclei_templates:/root/nuclei-templates
- tool_config:/root/.config
- static_volume:/usr/src/app/staticfiles/
ports:
- "8000:8000"
depends_on:
- db
- celery
Expand Down

0 comments on commit 018323c

Please sign in to comment.