workshopvorti.blogg.se

Webtrees geoname
Webtrees geoname












webtrees geoname
  1. #WEBTREES GEONAME UPDATE#
  2. #WEBTREES GEONAME PASSWORD#

-e UPDATE_ON_START - if set to TRUE the auto-update functionality on restart is activated.-e PORT - change port web server listens on.-e GROUP_ID - allow access to mapped volumes.-v /etc/localtime - Set to use the correct time of host.-v /var/www/html/data - Where webtrees server stores its config files.This image contains now the necessary libraries to optionally also select PostgreSQL or SQLServer as db storage in the setup wizard. To possible error of the initialization start the container in interactve mode using -it. User the parameters to DB_* and WT_* to set the corresponding values. Automatic initialization of databaseįor MySQL or MariaDB it is possible to use an automatical initalization of the database within the application. You could set -e PRETTYURLS=TRUE and -e BASE_URL= This will set the necessary settings in the.

webtrees geoname

It is also possible to active pretty urls by using environment variables. Otherwise you will end up with an error "Too many redirects". For that you have to start the container with the following environament variables set.īase_url=" When using pretty urls it is necessary to set also the base_url. It is possible to use the image without https support. If you want a more sofisticated encryption you should use a reverse proxy in front of the webtrees container.

webtrees geoname

It is not possible to change further encryption settings from outside the container.

#WEBTREES GEONAME PASSWORD#

This folder should contain the two files webtrees.key (Key without password protection) und webtrees.crt (certificate). Therfore you have to map the internal folder /crt to an external location. It is possible to use an alternative certificate. The https communication is based on a self signed certificate. in case of collisions) you can set the optional parameter PORT to a different value. If it is necessary to change the default port (e.g. if you only use it within your home network. Alternatively you can use this image also only using http, e.g. This image supports per default https based communication on port 443. If access to those files is necessary this location could be mapped to an external volume. Log data of the contained web-server is written in the files in the folder /var/log/apache2/. This can be set during the initial setup in the wizard or directly in the file (in data directory /var/Logging If you use the -link parameter it is sufficient to set as database hostname db and port 3306. Using the -link parameter a direct connection to the database in an other container could be established. For example you could use the MySQL Docker Image. Instead you have to use a separate MySQL instance. The image does not contain a MySQL database. In the container apache is running under user If this is not possible you can use the alternative and use the parameter GROUP_ID to inform the container about the group that has read and write access to those folders. Therefor you should create a directories that is mapped to the container internal directory /var/www/html/data. Persistent storage of dataĬonfiguration and media files should be stored outside the container. This auto-update functionality has (now) to be activated explicitly (-e UPDATE_ON_START=TRUE).

#WEBTREES GEONAME UPDATE#

Due to the running update it might take a little longer until the application webtrees is available. On each start of the container an update of the used Ubuntu packages could be performed.

webtrees geoname

or if you have defined an alternative port Update Functionality Docker run -d -p 8088:8079 -name webtrees -link mysql:db -v /webtrees/data:/var/www/html/data -e GROUP_ID=999 -e PORT=8079 -restart always dtjs48jkt/webtreesĪfter starting the docker container go to:














Webtrees geoname