

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.
#Webtrees vernon full#
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 This is a multi-architecture, up-to-date, Docker image for
