Commit graph

5 commits

Author SHA1 Message Date
Patrick Gansterer
22fd814193 Add a script to read all databases with a prefix from the database server
When passing a value via the FOODSOFT_DB_PREFIX environment variable the
FOODSOFT_FOODCOOPS environment variable will be overwritten with a list
of databases starting with the given prefix.

This can be used to dynamically generate the app_config.yml in a multicoop
installation and avoid listing all instances manually.
2022-05-27 23:10:07 +02:00
Patrick Gansterer
a0d4fad4d8 Add multi_coop configuration via environment variable in docker setup
If the file app_config.defaults.yml exists in the working directory,
the content will be written to the config/app_config.yml and appended
by a configuration entry for every foodcoop in the space separated
environment variable FOODSOFT_FOODCOOPS.
2019-10-28 19:01:02 +01:00
wvengen
0363f2dadc Improve Docker setup (PR #497) 2017-10-01 13:57:36 +02:00
Patrick Gansterer
2c180cc9e8 Set BUNDLE_APP_CONFIG and DATABASE_URL in crontab when defined 2017-08-08 23:27:27 +02:00
Patrick Gansterer
fa32fc9229 Dockerfile for production 2017-07-31 23:08:55 +02:00