Webtrees is the web's leading online collaborative genealogy application. We do not currently use PSR-3 (logging) - but we plan to do so in the future.įor JavaScript, we use semistandard. Webtrees follows the PHP Standards Recommendations. You should have received a copy of the GNU General Public LicenseĪlong with this program.
WEBTREES DELETE MEDIA LICENSE
GNU General Public License for more details. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This program is distributed in the hope that it will be useful,īut WITHOUT ANY WARRANTY without even the implied warranty of
WEBTREES DELETE MEDIA SOFTWARE
The Free Software Foundation, either version 3 of the License, or It under the terms of the GNU General Public License as published by This program is free software: you can redistribute it and/or modify Copyright 2022 webtrees development team.The below command lists all running containers.Webtrees - online collaborative genealogy Contents Add a port mapping to the docker-compose.yml file if you want to connect to the db. The database is not visible to the host and tools like phpmysqladmin will not find it. You are advised to change this to something secure.
WEBTREES DELETE MEDIA PASSWORD
The docker-compose.yml file lists the username and password that will be used when the server starts up. The database uses the mysql image from Dockerhub as-is.
Webtrees is intalled into both containers so that the web container has the static images and the php container has the scripts. It also installs mysqli, pdo, pdo_mysql and xml as well as gd. The Dockerfile-php adds libpng, freetype, libjpeg, libxml2 and unzip to the container. Fastcgi acts as glue between the nginx container and the fpm container communicating over port 9000 on a private Docker network. The php scripts are run from a separate container. Change that to whatever you like in the docker-compose.yml and nf file. The startup starts fcgiwrap and then nginx in non daemon mode. The container is then populated with the webtrees code.
The nf is modified to allow image uploads up to 40M as the default is unusable. It receives a customised nf which forwards requests for php scripts to the fcgi container. This container is defined by the Dockerfile (of the same name) and inherits from nginx. The configuration data for the Webtrees app and the media files will reside on the Webtrees-Data volume.
The 3 containers will connect with each other over the Docker internal network Webtrees-Net. The docker-compose.yml file declares the 3 containers that are used. If you want to copy the images to a safe place use the docker cp command:ĭocker cp Webtrees_webserver:/var/www/data/media. These files will stay around for as long as the volume stays around. This is mounted to the Webtrees_webserver and Webtrees_php_fpm container. Media files that you upload are kept in the docker volume named Webrtrees-Data. This will create a gedcom file that you can keep as a backup and can later import. To extract the genealogy data you captured in webtrees click on My page > Control panel > Family trees > Manage family trees > GEDCOM file Export > A file on your computer - continue. If you delete this container the data is gone. If you stop and restart this container the data remains. The genealogy data is kept in the MySql database container that was started. # docker stop Webtrees_webserver # docker stop Webtrees_php_fpm # docker stop Webtrees_mysql_db # docker rm Webtrees_webserver # docker rm Webtrees_php_fpm # docker rm Webtrees_mysql_db # docker network rm Webtrees-Net # docker volume rm Webtrees-Data Securing my data: Docker-compose down -rmi all -volumes -remove-orphans