Skip to content

Commit

Permalink
chore: resize swap and move to data dir
Browse files Browse the repository at this point in the history
  • Loading branch information
pcnc committed Sep 2, 2024
1 parent 71f0ab0 commit cfa6da7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common.vars.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
postgres-version = "15.1.1.92"
postgres-version = "15.1.1.93"
2 changes: 1 addition & 1 deletion docker/all-in-one/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function configure_services {
}

function enable_swap {
fallocate -l 1G /data/swapfile
fallocate -l 512M /data/swapfile
chmod 600 /data/swapfile
mkswap /data/swapfile
swapon /data/swapfile
Expand Down

0 comments on commit cfa6da7

Please sign in to comment.