Skip to content

Commit

Permalink
Update compose file resource limits
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielluciano committed Aug 7, 2024
1 parent 7be2e06 commit 01a0a9b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions backend/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ services:
deploy:
resources:
limits:
memory: '0.3GB'
cpus: 0.2
memory: '600MB'

database:
image: postgres:15.4
Expand All @@ -31,7 +32,8 @@ services:
deploy:
resources:
limits:
memory: '0.15GB'
cpus: 0.1
memory: '300MB'

proxy:
image: nginx:1.25.2
Expand All @@ -47,7 +49,8 @@ services:
deploy:
resources:
limits:
memory: '0.07GB'
cpus: 0.1
memory: '100MB'

volumes:
personalblog_data:

0 comments on commit 01a0a9b

Please sign in to comment.