File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 2020 ruby -e "require 'securerandom'; puts \"SECRET_KEY_BASE=#{SecureRandom.hex(64)}\"" >> deploy/.env
2121 echo "FORCE_SSL=false" >> deploy/.env
2222 echo "APP_HOST=localhost" >> deploy/.env
23+ # Copy Postgres config template and shrink memory settings
24+ cp deploy/postgres/postgresql.conf.example deploy/postgres/postgresql.conf
25+ sed -i 's/^shared_buffers = .*/shared_buffers = 128MB/' deploy/postgres/postgresql.conf
26+ sed -i 's/^effective_cache_size = .*/effective_cache_size = 256MB/' deploy/postgres/postgresql.conf
27+ sed -i 's/^work_mem = .*/work_mem = 4MB/' deploy/postgres/postgresql.conf
28+ sed -i 's/^maintenance_work_mem = .*/maintenance_work_mem = 64MB/' deploy/postgres/postgresql.conf
2329
2430 - name : Start database
2531 run : docker compose -f deploy/docker-compose.yml up -d db
You can’t perform that action at this time.
0 commit comments