Memory-Limits
This commit is contained in:
Regular → Executable
+3
-1
@@ -10,7 +10,8 @@ services:
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 90s
|
||||
mem_limit: 4g
|
||||
mem_limit: 512m
|
||||
mem_reservation: 512m
|
||||
cpu_shares: 768
|
||||
environment:
|
||||
JWT_SECRET_KEY: dOxZYTTZgXKMHkqLBIQVImayQXAVWdzGBPuFJKggzcgvgPJPXpWzqzKaUOIOGGIr
|
||||
@@ -20,4 +21,5 @@ services:
|
||||
- /volume1/docker/audiobookshelf:/config:rw
|
||||
- /volume1/docker/audiobookshelf/metadata:/metadata:rw
|
||||
- /volume1/data/docker/audiobookshelf/audiobooks:/audiobooks:rw
|
||||
- /volume1/data/docker/audiobookshelf/podcasts:/podcasts:rw
|
||||
restart: on-failure:5
|
||||
Reference in New Issue
Block a user