Skip to content

Commit

Permalink
1G for nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Nov 17, 2024
1 parent 5ff1ec5 commit 06bc2b4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
14 changes: 10 additions & 4 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
deploy:
resources:
limits:
memory: 512M
memory: 1G
reservations:
memory: 256M
ports:
Expand Down Expand Up @@ -54,7 +54,8 @@ services:
- POSTGRES_PORT=5432
- MOBSF_MULTIPROCESSING=thread
depends_on:
- postgres
postgres:
condition: service_healthy
networks:
- mobsf_network

Expand All @@ -75,9 +76,14 @@ services:
- MOBSF_ASYNC_ANALYSIS=1
healthcheck:
test: curl -f http://localhost:8000/login/ || exit 1
interval: 30s
timeout: 10s
retries: 5
depends_on:
- postgres
- djangoq
postgres:
condition: service_healthy
djangoq:
condition: service_started
networks:
- mobsf_network
extra_hosts:
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 06bc2b4

Please sign in to comment.