Sign inSign up

huggla/postgis-alpine

By huggla

•Updated almost 8 years ago

A small and secure Postgis image.

Image
1

3.6K

huggla/postgis-alpine repository overview

Deprecated, use huggla/sam-postgres:postgis instead

⁠postgis-alpine

A small and secure Docker image of Postgis 2.4.4. Based on huggla/postgres-alpine (Postgresql 10.4).

⁠Environment variables

⁠pre-set runtime variables
  • VAR_CONFIG_FILE="/etc/postgres/postgresql.conf"
  • VAR_FINAL_COMMAND="/usr/local/bin/postgres --config_file="$VAR_CONFIG_FILE""
  • VAR_LOCALE="en_US.UTF-8"
  • VAR_ENCODING="UTF8"
  • VAR_TEXT_SEARCH_CONFIG="english"
  • VAR_HBA="local all all trust, host all all 127.0.0.1/32 trust, host all all ::1/128 trust, host all all all md5"
  • VAR_CREATE_EXTENSION_PGAGENT="yes"
  • VAR_ARGON2_PARAMS="-r" (only used if VAR_ENCRYPT_PW is set to "yes")
  • VAR_SALT_FILE="/proc/sys/kernel/hostname" (only used if VAR_ENCRYPT_PW is set to "yes")
  • VAR_LINUX_USER="postgres" (also database owner/superuser)
  • VAR_param_data_directory="'/pgdata'"
  • VAR_param_hba_file="'/etc/postgres/pg_hba.conf'"
  • VAR_param_ident_file="'/etc/postgres/pg_ident.conf'"
  • VAR_param_unix_socket_directories="'/var/run/postgresql'"
  • VAR_param_listen_addresses="'*'"
  • VAR_param_timezone="'UTC'"
⁠Optional runtime variables
  • VAR_param_<postgres parameter name>
  • VAR_password_file_<VAR_LINUX_USER>
  • VAR_password_<VAR_LINUX_USER>
  • VAR_ENCRYPT_PW (set to "yes" to hash password with Argon2)

⁠Capabilities

Can drop all but CHOWN, DAC_OVERRIDE, FOWNER, SETGID and SETUID.

⁠Tips

Works with huggla/pgagent-alpine, huggla/pgbouncer-alpine, huggla/pgadmin-alpine and huggla/postgres-backup.

Tag summary

Content type

Image

Digest

Size

32.4 MB

Last updated

almost 8 years ago

docker pull huggla/postgis-alpine