Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Dockerfile: Revok Scanner database container

Based on alectolytic/postgres container, this implements a PostgreSQL based database for the Revok Scanner.

Refer to base image documentation for more information.

Build

sudo docker build --tag revok/database .

Usage Example

PGHOME=/path/to/host/pghome
PGPORT=5432

# set password for revok database user
echo "password" > ${PGHOME}/revok.pwfile

# run in foreground
sudo docker run \
    -p ${PGPORT}:${PGPORT} \
    -v ${PGHOME}:/var/lib/pgsql \
    --name revok-db \
    revok/database

Volumes

Path Description
/var/lib/pgsql PostgreSQL home directory

Revok database user password

On initial boot a random password is generated and stored as ${PGHOME}/revok.pwfile. If this file was previously present before boot, the password in the file is used for the revok database user.

Docker Pull Command
Owner
revok
Source Repository

Comments (0)