2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-11-05 22:51:52 +01:00
docker/.docker-files
2019-06-23 02:41:44 +02:00
..
cron.sh bugfix cron.sh 2019-01-04 01:29:18 +01:00
entrypoint.sh Enhancing docker images: 2019-06-23 02:24:02 +02:00
README.md Restructure top-level directory for a better understanding 2018-12-29 20:46:29 +01:00
upgrade.exclude Add logfiles to upgrade excluding 2019-06-23 02:41:44 +02:00

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)