docker/.docker-files
Philipp Holzer 0d3053cffd
Bugfix lower_case for develop-branch check
2019-03-24 13:46:23 +01:00
..
README.md Restructure top-level directory for a better understanding 2018-12-29 20:46:29 +01:00
cron.sh bugfix cron.sh 2019-01-04 01:29:18 +01:00
entrypoint.sh Bugfix lower_case for develop-branch check 2019-03-24 13:46:23 +01:00
upgrade.exclude new storage directory to exclude 2019-02-12 00:12:19 +01:00

README.md

Docker Files

This files are directly load to the docker image's root directory. Any files except *.sh and *.exclude will get ignored during the repository upgrade.

entrypoint.sh

This file is the default entrypoint of each start of Friendica. It automatically checks the following things:

  • If the image is for a develop or Release candidate, checkout the latest sources from github if necessary
  • Setup the SMTP settings for SSMTP
  • Check if an upgrade is necessary (due to new checkout or because of a new version)
  • Check if it's a fresh installation and initialize Friendica
  • Check if auto install is set and execute the auto-installer
  • Read all environment variables and combine them with local.config.php

cron.sh

This file is for overwriting the default entrypoint. It starts the daemon of the current Friendica instance.

Warning Currently only one daemon service is allowed to run!

upgrade.exclude

Contains all files to exclude during an upgrade or a fresh installation of Friendica (f.e. local.config.php)