This is a docker compose runner for webtrees.
git cloneit on your server- create
.envfile in the same folder and fill it in:
WEBTREES_VERSION=1.7.13
PORT=80
MYSQL_ROOT_PASSWORD=put_your_favorite_password
where WEBTREES_VERSION is a webtrees's release, PORT is web-server exposed port (see bellow), MYSQL_ROOT_PASSWORD is mysql database password (see bellow).
- run
docker-compose up -d
- Open http://your-server:[PORT] (
PORTis from .env file) and follow installation instructions. Once you are asked for Connection to database server use following values:
-
Server name: database
-
Port number: 3306
-
Database user account: root
-
Database password: [MYSQL_ROOT_PASSWORD]
(where
MYSQL_ROOT_PASSWORDis from .env file.) -
All the rest are according to your choice