corpusops/setups.postgresql

Name: setups.postgresql

Description: null

Created: 2017-09-05 08:49:01.0

Updated: 2017-11-30 12:27:11.0

Pushed: 2018-01-16 09:55:16.0

Homepage: null

Size: 70

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Docker based image for postgresql

USE/Install with makina-states
Exemple pillar
kina-projects.pgsql:
ata:
backup_disabled: false
pgver: 9.6
mail: sysadmin@foo.com
pg_optim:
  #./pgtune/pgtune -i /etc/postgresql/9.5/main/postgresql.conf -M $((15842612*1024))
  - default_statistics_target = 100
  - maintenance_work_mem = 960MB
  - checkpoint_completion_target = 0.9
  - effective_cache_size = 11GB
  - work_mem = 72MB
  - shared_buffers = 3840MB
sysctls:
  - kernel.shmall: 4026531840
  - kernel.shmmax: 16106127360
databases:
  - x:
      password: "x"
      user: x
corpusops/postgresql (CURRENT)
Description

This setups a nginx reverse proxy on http/https that forward requests to an underlying postgresql worker.

This repository produces all those docker images:

Volumes
Initialise setup volume Initialise user data volumes
Run this image through docker
Build this image
Image provision notes
A note on file rights
ansible
Steps to create cops docker compliant images

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.