limit memory usage of database
This commit is contained in:
parent
3b471b2bbb
commit
4b733d046b
|
@ -19,6 +19,9 @@ volumes:
|
|||
services:
|
||||
postgres:
|
||||
build: ./compose/postgres
|
||||
# limit the ram so thing dont go out of control
|
||||
# database is currently very small so we dont need much
|
||||
mem_limit: 256m
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- postgres_backup:/backups
|
||||
|
|
Loading…
Reference in New Issue