Added: Postgres
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
enable = true;
|
||||
package = pkgs.postgresql_15;
|
||||
port = 5432;
|
||||
enableTCPIP = true;
|
||||
|
||||
# Initial database setup
|
||||
initialScript = pkgs.writeText "backend-init-script" ''
|
||||
@@ -16,6 +17,7 @@
|
||||
|
||||
# Raspberry Pi 4 optimized settings (2GB RAM assumed)
|
||||
settings = {
|
||||
|
||||
# Memory settings (RPi 4 has limited RAM)
|
||||
shared_buffers = "128MB";
|
||||
effective_cache_size = "512MB";
|
||||
|
||||
Reference in New Issue
Block a user