Davical + Apache + Postgresql with LDAP auth support based on Debian Stretch
3.0K
Davical + Apache + Postgresql with LDAP auth support based on Debian Stretch
This Docker container is based on Debian Stretch.
During container startup, docker-entrypoint.sh script check if davical database already exists.
If it exists, it runs davical database script, otherwise it runs davical init script.
A cron script creates a backup of the davical database everyday at 3am.
It rotates backup to keep 7 daily, 5 weekly and 12 monthly backups.
Backups are stored in /var/lib/postgresql/backups
Container contains a database restore script.
To restore a copy of the database, put the backup file in /var/lib/postgresql/restore/ and name it db.sql.gz
At next startup, current davical database will be replaced by provided database dump.
When data has been restored, db.sql.gz is renamed db-restored.sql.gz
This container requires two docker volumes or bind mounts :
/config/ contains configuration files/var/lib/postgresql/ contains Postgresql data files, backups, and restorePort 80 is exposed
By default davical administrator credentials are the following :
admin12345This MUST be changed using Web interface !
This is my first attempt to create a Docker container. Please provide your feedback if there is something wrong or good.
Content type
Image
Digest
Size
141.7 MB
Last updated
over 8 years ago
docker pull konilabs/davical-ldap