Compare commits
4 Commits
postgresql
...
postgresql
| Author | SHA1 | Date | |
|---|---|---|---|
| 2dc2d49ba8 | |||
| 6aa60bbebe | |||
| e2008d8b13 | |||
| 6950cbf180 |
14
Dockerfile
14
Dockerfile
@@ -9,6 +9,7 @@ ARG IMG_NAME
|
||||
ARG IMG_NAME_FULL
|
||||
ARG IMG_VERSION
|
||||
ARG IMG_MAINTAINER
|
||||
ARG IMG_URL
|
||||
|
||||
LABEL org.rx3.${IMG_NAME}.name=${IMG_NAME_FULL}
|
||||
LABEL org.rx3.${IMG_NAME}.version=${IMG_VERSION}
|
||||
@@ -61,12 +62,16 @@ then
|
||||
fi'
|
||||
#-----------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------------------------------------------------------
|
||||
ARG POSTGRESQLD_INI='[program:postgresqld] \n\
|
||||
command=/usr/bin/postgres -D '${POSTGRESQL_DATA}' -p '${POSTGRESQL_PORT}' \n\
|
||||
user=postgres'
|
||||
#-----------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------------------------------------------------------
|
||||
ARG POSTSQL='#!/bin/bash \n\
|
||||
\n\
|
||||
@@ -98,6 +103,8 @@ fi
|
||||
log "Completed"'
|
||||
#-----------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------------------------------------------------------
|
||||
ARG POSTSQL_INI='[program:postsql] \n\
|
||||
command=/usr/local/sbin/postsql'
|
||||
@@ -105,7 +112,9 @@ command=/usr/local/sbin/postsql'
|
||||
|
||||
|
||||
|
||||
RUN urpmi --force postgresql15 postgresql15-server postgresql15-pl \
|
||||
RUN . /etc/profile.d/rx3.sh && isl_add ${IMG_URL} \
|
||||
&& urpmi.update -a \
|
||||
&& urpmi --force postgresql15 postgresql15-server postgresql15-pl \
|
||||
&& echo -e "${POSTGRESQLD}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/postgresqld \
|
||||
&& chmod a+x /etc/init.d/postgresqld \
|
||||
&& ln -s /etc/init.d/postgresqld /etc/rcD.d/S30postgresqld \
|
||||
@@ -115,7 +124,10 @@ RUN urpmi --force postgresql15 postgresql15-server postgresql15-pl
|
||||
&& echo -e "${POSTSQL_INI}" | sed -e 's/ *$//' > /etc/supervisord.d/postsql.ini
|
||||
|
||||
|
||||
|
||||
VOLUME ${POSTGRESQL_LIB}
|
||||
VOLUME ${POSTGRESQL_LOG}
|
||||
|
||||
|
||||
|
||||
EXPOSE ${POSTGRESQL_PORT}
|
||||
|
||||
@@ -5,7 +5,7 @@ Welcome to Rx3-Docker/PostgreSQL docker image!
|
||||
This project aims to build a PostgreSQL docker image used by other Rx3 packaging projects.
|
||||
|
||||
Features:
|
||||
- Curtently based on rx3-docker/server:1.2.1-mga9 image,
|
||||
- Curtently based on postgresql 15.15 and rx3-docker/server:1.3.0-mga9 image,
|
||||
- Following env vars supported:
|
||||
- POSTGRESQL_UID & POSTGRESQL_GID,
|
||||
- POSTGRESQL_POSTGRES_PASSWORD,
|
||||
@@ -13,6 +13,7 @@ Features:
|
||||
- POSTGRESQL_USER & POSTGRESQL_PASSWORD.
|
||||
|
||||
|
||||
|
||||
Enjoy it!
|
||||
|
||||
Your Rx3 Team.
|
||||
|
||||
@@ -1,3 +1,39 @@
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3-Docker/PostgreSQL V 1.1.6 - A. GIBERT - 2026/02/16
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Add ISL support,
|
||||
- Use now rx3-docker/server:1.3.0-mga9 image,
|
||||
- Rebuild for updates.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3-Docker/PostgreSQL V 1.1.5 - A. GIBERT - 2025/11/28
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Use now rx3-docker/server:1.2.7-mga9 image,
|
||||
- Rebuild for updates.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3-Docker/PostgreSQL V 1.1.4 - A. GIBERT - 2025/09/19
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Use now rx3-docker/server:1.2.6-mga9 image,
|
||||
- Rebuild for updates.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3-Docker/PostgreSQL V 1.1.3 - A. GIBERT - 2025/04/21
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- Use now rx3-docker/server:1.2.2-mga9 image.
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
Rx3-Docker/PostgreSQL V 1.1.2 - A. GIBERT - 2025/03/10
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -18,6 +18,7 @@ services:
|
||||
IMG_NAME_FULL: ${DATABASE_IMG_NAME_FULL}
|
||||
IMG_VERSION: ${DATABASE_IMG_VERSION}
|
||||
IMG_MAINTAINER: ${DATABASE_IMG_MAINTAINER}
|
||||
IMG_URL: ${DATABASE_IMG_URL}
|
||||
IMG_FROM_URL: ${DATABASE_IMG_FROM_URL}
|
||||
|
||||
POSTGRESQL_LIB: ${DATABASE_LIB_INT}
|
||||
|
||||
2
env.dist
2
env.dist
@@ -41,7 +41,7 @@ DOCKER_TOOLS_EXEPTION_LIBS="postgres:pgsql"
|
||||
# | Prefix | Name | URL Prefix | Name | Name Full | Version | URL Prefix | Name | Version | Name | Version | Ext | Int | Ext | Int | Name / Id | Name / Id |
|
||||
#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+----------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
|
||||
|
||||
docker_service_add DATABASE database ${ORG_URL_PREFIX} postgresql "Rx3-Docker/PostgreSQL" 1.1.2-mga9 ${ORG_URL_PREFIX} server 1.2.1-mga9 postgres - 8032 5432 - - 983 981
|
||||
docker_service_add DATABASE database ${ORG_URL_PREFIX} postgresql "Rx3-Docker/PostgreSQL" 1.1.6-mga9 ${ORG_URL_PREFIX} server 1.3.0-mga9 postgres - 8032 5432 - - 983 981
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user