mirror of
https://github.com/bitnami/containers.git
synced 2026-03-10 15:09:17 +08:00
9.6.9-debian-9-r1 release
This commit is contained in:
25
bitnami/postgresql/9.6/debian-9/Dockerfile
Normal file
25
bitnami/postgresql/9.6/debian-9/Dockerfile
Normal file
@@ -0,0 +1,25 @@
|
||||
FROM bitnami/minideb-extras:stretch-r70
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages libbsd0 libc6 libedit2 libgcc1 libicu57 liblzma5 libncurses5 libssl1.1 libstdc++6 libtinfo5 libxml2 libxslt1.1 zlib1g
|
||||
RUN bitnami-pkg unpack postgresql-9.6.9-1 --checksum b4ecf6a380e8e5a2cb92d89c4bffd571c3c55faacb15aa79c430eabd1af66215
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="postgresql" \
|
||||
BITNAMI_IMAGE_VERSION="9.6.9-debian-9-r1" \
|
||||
PATH="/opt/bitnami/postgresql/bin:$PATH" \
|
||||
POSTGRESQL_DATABASE="" \
|
||||
POSTGRESQL_MASTER_HOST="" \
|
||||
POSTGRESQL_MASTER_PORT_NUMBER="5432" \
|
||||
POSTGRESQL_PASSWORD="" \
|
||||
POSTGRESQL_PORT_NUMBER="5432" \
|
||||
POSTGRESQL_REPLICATION_MODE="master" \
|
||||
POSTGRESQL_REPLICATION_PASSWORD="" \
|
||||
POSTGRESQL_REPLICATION_USER="" \
|
||||
POSTGRESQL_USERNAME="postgres"
|
||||
|
||||
EXPOSE 5432
|
||||
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
CMD ["nami","start","--foreground","postgresql"]
|
||||
13
bitnami/postgresql/9.6/debian-9/docker-compose.yml
Normal file
13
bitnami/postgresql/9.6/debian-9/docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
postgresql:
|
||||
image: 'bitnami/postgresql:9.6'
|
||||
ports:
|
||||
- '5432:5432'
|
||||
volumes:
|
||||
- 'postgresql_data:/bitnami'
|
||||
|
||||
volumes:
|
||||
postgresql_data:
|
||||
driver: local
|
||||
13
bitnami/postgresql/9.6/debian-9/rootfs/app-entrypoint.sh
Executable file
13
bitnami/postgresql/9.6/debian-9/rootfs/app-entrypoint.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
print_welcome_page
|
||||
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
nami_initialize postgresql
|
||||
info "Starting postgresql... "
|
||||
fi
|
||||
|
||||
exec tini -- "$@"
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"database": "{{$global.env.POSTGRESQL_DATABASE}}",
|
||||
"masterHost": "{{$global.env.POSTGRESQL_MASTER_HOST}}",
|
||||
"masterPort": "{{$global.env.POSTGRESQL_MASTER_PORT_NUMBER}}",
|
||||
"password": "{{$global.env.POSTGRESQL_PASSWORD}}",
|
||||
"postgresqlPort": "{{$global.env.POSTGRESQL_PORT_NUMBER}}",
|
||||
"replicationMode": "{{$global.env.POSTGRESQL_REPLICATION_MODE}}",
|
||||
"replicationPassword": "{{$global.env.POSTGRESQL_REPLICATION_PASSWORD}}",
|
||||
"replicationUser": "{{$global.env.POSTGRESQL_REPLICATION_USER}}",
|
||||
"username": "{{$global.env.POSTGRESQL_USERNAME}}"
|
||||
}
|
||||
@@ -31,7 +31,7 @@ $ docker-compose up -d
|
||||
* [`10-debian-9`, `10.4.0-debian-9-r1` (10/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.4.0-debian-9-r1/10/debian-9/Dockerfile)
|
||||
* [`10-debian-8`, `10.4.0-debian-8-r31`, `10`, `10.4.0`, `10.4.0-r31`, `latest` (10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.4.0-debian-8-r31/10/Dockerfile)
|
||||
* [`9.6-ol-7`, `9.6.9-ol-7-r14` (9.6/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/9.6.9-ol-7-r14/9.6/ol-7/Dockerfile)
|
||||
* [`9.6-debian-9`, `9.6.9-debian-9-r0` (9.6/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/9.6.9-debian-9-r0/9.6/debian-9/Dockerfile)
|
||||
* [`9.6-debian-9`, `9.6.9-debian-9-r1` (9.6/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/9.6.9-debian-9-r1/9.6/debian-9/Dockerfile)
|
||||
* [`9.6-debian-8`, `9.6.9-debian-8-r31`, `9.6`, `9.6.9`, `9.6.9-r31` (9.6/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/9.6.9-debian-8-r31/9.6/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/postgresql GitHub repo](https://github.com/bitnami/bitnami-docker-postgresql).
|
||||
|
||||
Reference in New Issue
Block a user