Skip to content

Commit 157c19c

Browse files
author
balatromultiplayer
committed
Added memory limit
1 parent 3252a64 commit 157c19c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ services:
1111
interval: 5s
1212
timeout: 5s
1313
retries: 20
14+
deploy:
15+
resources:
16+
limits:
17+
memory: 384M
1418

1519
migrate:
1620
build: .
@@ -73,6 +77,10 @@ services:
7377
ports:
7478
- "4931:4931"
7579
restart: unless-stopped
80+
deploy:
81+
resources:
82+
limits:
83+
memory: 256M
7684

7785
volumes:
7886
pgdata: {}

0 commit comments

Comments
 (0)