2024-08-30 19:08:09 +02:00
|
|
|
# Rx3 PostgreSQL Mageia-9 Docker Image
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
name: ${IMG_NAME}
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
database:
|
|
|
|
container_name: ${IMG_NAME}
|
|
|
|
|
|
|
|
image: ${IMG_URL}
|
|
|
|
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
- IMG_NAME=${IMG_NAME}
|
|
|
|
- IMG_FULL_NAME=${IMG_FULL_NAME}
|
|
|
|
- IMG_VERSION=${IMG_VERSION}
|
|
|
|
- IMG_MAINTAINER=${IMG_MAINTAINER}
|
|
|
|
- IMG_URL_PREFIX=${IMG_URL_PREFIX}
|
|
|
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
environment:
|
|
|
|
POSTGRESQL_UID: ${POSTGRESQL_UID}
|
|
|
|
POSTGRESQL_GID: ${POSTGRESQL_GID}
|
|
|
|
POSTGRESQL_POSTGRES_PASSWORD: ${POSTGRESQL_POSTGRES_PASSWORD}
|
|
|
|
POSTGRESQL_DATABASE: ${POSTGRESQL_DATABASE}
|
|
|
|
POSTGRESQL_USER: ${POSTGRESQL_USER}
|
|
|
|
POSTGRESQL_PASSWORD: ${POSTGRESQL_PASSWORD}
|
|
|
|
|
|
|
|
volumes:
|
2024-08-31 12:26:19 +02:00
|
|
|
- ./pgsql-data:/var/lib/pgsql/data
|
2024-08-30 19:08:09 +02:00
|
|
|
|
|
|
|
network_mode: bridge
|
|
|
|
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:9013:9001"
|
|
|
|
- "127.0.0.1:8032:5432"
|