![]() (if you're migrating from an existing webtrees installation for example), simply leave If you don't want the container to be configured automatically See the PHP documentationĪdditionally, you can add _FILE to the end of any environment variable name,Īnd instead that will read the value in from the given filename.įor example, setting DB_PASS_FILE=/run/secrets/my_db_secret will read the contents PHP max execution time for a request in seconds. Note, this is only used the first time the container is run, and the database is initialized. Note, this is only used the first time the container is run, and the database is initialized.įirst admin account email. Note, this is only used the first time the container is run, and the database is initialized.įirst admin account password. Note, this is only used the first time the container is run, and the database is initialized.įirst admin account full name. If True, you must also fill out DB_KEY, DB_CERT, and DB_CA.įirst admin account username. Relative to the /var/www/webtrees/data/ directory. Relative to the /var/Only use with the mysql database driver. Key file used to verify the MySQL server. Set this to a value of "" to have no table prefix. Prefix to give all tables in the database. See below for valid values.ĭB_USER or MYSQL_USER or MARIADB_USER or POSTGRES_USERĭB_PASS or MYSQL_PASSWORD or MARIADB_PASSWORD or POSTGRES_PASSWORDĭB_NAME or MYSQL_DATABASE or MARIADB_DATABASE or POSTGRES_DB This needs to be in the form of ĭatabase server type. List: īase URL of the installation, with protocol. Can either be absolute, or relative to /var/Can either be absolute, or relative to /var/www/webtrees/data/. Leaving this off will allow webtrees to be accessed over HTTP, but not automatically redirected to HTTPS.Ĭertificate file to use for HTTPS. ![]() Setting this to any truthy value ( True, 1, yes) will enable a permanent 301 redirect to HTTPS. If True, you must also fill out SSL_CERT_FILE and SSL_CERT_KEY_FILE Setting this to any truthy value ( True, 1, yes) will enable HTTPS. This can be toggled at any time, however you must go through initial setup at least once first. Setting this to any truthy value ( True, 1, yes) will enable pretty URLs. To administrators, or use the webtrees setup wizard. These environment variables will be visible in the webtrees control panel For any environment variable you do not define, There are many environment variables available to help automatically configure ![]() If you want to jump right in, take a look at the providedĭocker-compose.yml. This can be put behind a reverse proxy such as CloudFlare or Traefik, or You can specify database login details, and if you give it the right schema name and table prefix it will detect there's already a full database.įinally you can take a copy of the /data/media folder of your host and put these in folder /XAMPP/htdocs/webtrees/data/media so all images are present as well.This is a multi-architecture, up-to-date, Docker image for Then with your internet browser navigate to which will guide you through the install process. You don't need to take a copy of all these files from your server. I'd suggest to unpack a standard distribution of the webtrees PHP script files (take the same version as on your site) to the /XAMPP/htdocs/webtrees folder. By default in XAMPP the user name for the database is "root" and no password is required (leave empty) Select just the webtrees tables, not any other database schema. SQL file which can be imported using PhpMyAdmin on your XAMPP environment. PhpMyAdmin you can export the whole webtrees database to a. There are two things needed to copy webtrees from one server environment to another: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |