Skip to content

Commit 9d214f5

Browse files
Memory limit
1 parent a4d139d commit 9d214f5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ jobs:
3434
git pull --rebase origin main
3535
3636
docker compose down
37-
docker compose up --force-recreate --build --detach
37+
docker compose --compatibility up --force-recreate --build --detach
3838
docker image prune --force

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ services:
1111
timeout: 30s
1212
retries: 3
1313
start_period: 40s
14+
deploy:
15+
resources:
16+
limits:
17+
memory: 2g
1418
autoheal:
1519
image: willfarrell/autoheal:latest
1620
container_name: autoheal

0 commit comments

Comments
 (0)