PostgreSQL database, extended and optimized for use with the Nuclos Application Server.
5.3K
This repository contains the PostgreSQL database for Nuclos container and is build by an automated pipeline and published to the public Docker Hub Registry.
⚠️ Important change: As of 17.0, the
DB_PASSWORDparameter is no longer available. For security reasons, it is replaced by the filedb_passwordin the volume/opt/nuclos/secrets. However, the default password has not changed, and an adaption will only be necessary if you have changed it.
Visit Tags
Visit BitBucket
Install Docker.
Download automated build from public Docker Hub Registry: docker pull nuccess/nuclos-db
(alternatively, you can build an image from Dockerfile: docker build --build-arg BASE_IMAGE_TAG=17.5 --tag my-nuclos-db https://bitbucket.org/nuccess/docker-nuclos-db.git)
docker run --name nuclos-db-17.5 -e TZ=Europe/Berlin -e LOCALE=de_DE.UTF-8 -p 5496:5432 -d nuccess/nuclos-db:17.5
After a reboot, you can simply restart the container with: docker start nuclos-db-17.5
/var/nuclos-dbThis directory acts as an interface for a Nuclos application server container. New files in this directory are automatically processed by the server container. You can also use this function to import or export a database dump (created with pg_dump). No need to install a PostgreSQL client on your host system or to connect to the container directly.
To access this volume from your host system, just mount it to a local directory using following command. E.g. -v /Users/Maik/Nuclos/Docker/vol-nuclos-db-17.5:/var/nuclos-db
/var/nuclos-db/backups. The name of the dump file must ensure following naming convention: schema#tag.backup (schema: The schema is then automatically created. If it already exists, it will be dropped before creating it again. tag: Name or timestamp, only to identify a dump). Example: myerp#2017-05-01.backupschema#tag.imp in /var/nuclos-db, which is then automatically interpreted as a command. Example: echo "FileContentDoesNotMatter" > /Users/Maik/Nuclos/Docker/vol-nuclos-db-17.5/myerp#2017-05-01.imp (the mounted directory as explained in section "Data Volume").schema#tag.exp in /var/nuclos-db. Example: echo "FileContentDoesNotMatter" > /Users/Maik/Nuclos/Docker/vol-nuclos-db-17.5/myerp#2017-05-15.exp (the mounted directory as explained in section "Data Volume").backups. E.g. var/nuclos-db/backupsSet the timezone. Default is Europe/Berlin. -e TZ=Europe/Berlin
Set the locale. Default is de_DE.UTF-8. -e LOCALE=de_DE.UTF-8
The default PostgreSQL user is nuclos with password password. You can change the default password with the file db_password in the volume /opt/nuclos/secrets .
Set total usable RAM for the Container. If the container is started with a limit (--memory), this has priority. Default is 1 GB. -e TOTAL_RAM_GB=4
Dynamically controls the total usable RAM for the PostgreSQL process. Default is 75%. -e MAX_RAM_PERCENTAGE=85
PostgreSQL database connection limit. Default is 50. We recommend 50 connections per active Nuclos application server. -e MAX_CONNECTIONS=50
/opt/nuclos/secretsDirectory of all secrets if you want to use something other than the default.
Contains the password to be set for the POSTGRES_USER
Content type
Image
Digest
sha256:7c59fb5a7…
Size
186.7 MB
Last updated
about 1 year ago
docker pull nuccess/nuclos-db