Patrick Hobusch
16244a8056
Improve handling of secret variables and files in autoconfig
...
In the recent state, the autoconfig feature required either all database
secrets to be passed as environment variables, or all to be passed as
secret files, but didn't allow to use a mix of these variants, e.g.
passing the database user and name as environment variables, and only
the password as a file.
This is now fixed and allows working with database values the same way,
as the Postgres and MySQL/MariaDB images do; with mixed variants also.
Signed-off-by: Patrick Hobusch <patrick@hobusch.net>
2024-01-08 21:25:58 +07:00
Josh Richards
ed6c68451d
feat(updater): Disable web based updater for real ( #2109 )
...
Web based updates aren't used in the image, but the button remains enabled and generates an error when clicked. Let's eliminate the web updater button.
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-11 22:54:39 +00:00
Anderson Entwistle
e1b1923861
feat: support object store credentials from file ( #1946 )
...
Signed-off-by: Anderson Entwistle <46688047+aentwist@users.noreply.github.com>
2023-03-28 13:50:55 +00:00
Mehdi Zakaria Benadel
d447c5793a
fix SMTP_PASSWORD_FILE not triggering auth activation ( #1614 )
...
Signed-off-by: Mehdi Benadel <mehdi.benadel@gmail.com>
Signed-off-by: Mehdi Benadel <mehdi.benadel@gmail.com>
2022-09-02 13:00:12 +00:00
Simon Tushev
2857b4b3f1
Added fetching autoconfig data from Docker secrets ( #1516 )
...
* Added fetching autoconfig data from Docker secrets
Signed-off-by: Simon Tushev <tushev@users.noreply.github.com>
* Docker secrets now have priority over ENV variables; improved README.md
Signed-off-by: Simon Tushev <tushev@users.noreply.github.com>
2021-11-29 22:30:57 +00:00
Klaus Frank
6e54048644
Add OVERWRITECLIURL env var ( #1622 )
...
Signed-off-by: Klaus Frank <git@frank.fyi>
2021-11-25 13:03:48 +00:00
András Maróy
5d01cebeab
Implement docker secret handling for SMTP_PASSWORD ( #1471 )
...
* Implement docker secret handling for SMTP_PASSWORD
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Use `trim` instead of `rtrim` for `SMTP_PASSWORD_FILE` contents
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Signed-off-by: András Maróy <andras@maroy.hu>
* Runs update.sh
Co-authored-by: GitHub Workflow <workflow@github.com>
2021-07-30 12:23:35 +00:00
Philipp
a15c755399
Add "legacy_auth" option for S3 object stores ( #1444 )
...
* Add "legacy_auth" option for S3 object stores
Signed-off-by: Philipp <admin@philipp.info>
* Update .config/s3.config.php
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2021-03-27 01:01:00 +00:00
johackim
94e751cd97
Add objectPrefix et autocreate environment variables ( #1389 )
...
Signed-off-by: johackim <contact@johackim.com>
2021-02-22 17:06:40 +00:00
Pierre Ozoux
fa4a8a857b
Change quotes for consistency. ( #1214 )
2021-01-14 16:51:15 +00:00
stefanprobst
b8cc63fb83
fix: empty redis password must be string ( #1232 )
2020-11-07 00:36:05 +00:00
Adam Jenkins
84c775e440
Adds ability to configure swift object store though environment ( #1243 )
...
Signed-off-by: Adam Jenkins <adamjenkins1701@gmail.com>
2020-09-24 08:52:59 +02:00
Pierre Ozoux
27c54cdd9e
Adds ability to configure S3 object stores via environment variables ( #1227 )
...
* Adds ability to configure S3 object stores via environment variables
closes #1193 #1124 #1134
Co-authored-by: Adam Jenkins <adamjenkins1701@gmail.com>
Co-authored-by: Stephen Cuppett <scuppett@redhat.com>
* Update .config/s3.config.php
Co-authored-by: Adam Jenkins <adamjenkins1701@gmail.com>
Co-authored-by: Stephen Cuppett <scuppett@redhat.com>
2020-08-29 09:26:57 +02:00
pierreozoux
7a286da8c3
Revert "Adds ability to configure S3 object stores via environment variables"
...
This reverts commit 47032fddb6
.
2020-08-28 17:48:40 +02:00
pierreozoux
47032fddb6
Adds ability to configure S3 object stores via environment variables
...
closes #1193 #1124 #1134
Co-authored-by: Adam Jenkins <adamjenkins1701@gmail.com>
Co-authored-by: Stephen Cuppett <scuppett@redhat.com>
2020-08-28 15:25:06 +02:00
J0WI
3ac6fde8d6
Remove db prefix option ( #1131 )
...
* Remove db prefix option
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Upgrade to 18.0.6
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-06-09 13:26:33 +00:00
András Maróy
6d2390726f
Expose reverse proxy related configuration as environment variables ( #1048 )
...
* Expose reverse proxy related configuration as environment variables
Signed-off-by: András Maróy <andras@maroy.hu>
* Update README.md
Co-Authored-By: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: András Maróy <andras@maroy.hu>
* Update README.md
Co-Authored-By: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: András Maróy <andras@maroy.hu>
* Add default values for reverse proxy config from environment
Signed-off-by: András Maróy <andras@maroy.hu>
* Change reverse proxy default values to null
Signed-off-by: András Maróy <andras@maroy.hu>
* Store environment variables in vars in reverse-proxy config
Signed-off-by: András Maróy <andras@maroy.hu>
* Merge reverse proxy configs
Signed-off-by: András Maróy <andras@maroy.hu>
* Move overwrite parameters to reverse proxy section in the readme
Signed-off-by: András Maróy <andras@maroy.hu>
* Add reverse proxy config to 19.0-beta images
Signed-off-by: András Maróy <andras@maroy.hu>
* Remove default null from reverse proxy config to avoid breaking existing deployments
Signed-off-by: András Maróy <andras@maroy.hu>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2020-04-16 15:54:48 +00:00
kesselb
63438ef792
Disable rewriteip for apache image ( #1010 )
...
* Disable rewrite ip for apache image
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Run update.sh
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-06 20:44:58 +00:00
Tortue Torche
d9ab30a969
Fix Redis Unix socket support ( #944 )
...
* Fix Redis Unix socket support
Rebase and rewrite the @epma01 pull request, based on last Nextcloud Docker changes
See: https://github.com/nextcloud/docker/pull/735
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
* Fix CI tests with update.sh script
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
2020-01-10 23:38:38 +00:00
algakzru
73ff5c860d
Set redis password ( #856 )
2019-09-10 02:31:16 +02:00
J0WI
a87f914de3
Avoid empty table prefix
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-06-22 18:22:15 +02:00
Rodrigo
dc04397618
Set SMTP via environment vars. ( #698 )
...
* Set SMTP via environment vars.
Signed-off-by: Rodrigo Aguilera <hi@rodrigoaguilera.net>
* Add SMTP instructions to the readme.
Signed-off-by: Rodrigo Aguilera <hi@rodrigoaguilera.net>
* Run update.sh for 16.0 release.
Signed-off-by: Rodrigo Aguilera <hi@rodrigoaguilera.net>
2019-04-29 13:47:16 +02:00
marceljd
b3b6def923
On branch redis-env-vars
...
added REDIS_HOST_PORT
Changes to be committed:
modified: .config/redis.config.php
modified: README.md
Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
marceljd
a9f458ce9f
Changes to be committed:
...
modified: .config/redis.config.php
modified: .examples/docker-compose/insecure/mariadb-cron-redis/apache/docker-compose.yml
modified: .examples/docker-compose/insecure/mariadb-cron-redis/fpm/docker-compose.yml
modified: .examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/docker-compose.yml
modified: .examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/docker-compose.yml
modified: 13.0/apache/Dockerfile
modified: 13.0/apache/config/redis.config.php
modified: 13.0/fpm-alpine/Dockerfile
modified: 13.0/fpm-alpine/config/redis.config.php
modified: 13.0/fpm/Dockerfile
modified: 13.0/fpm/config/redis.config.php
modified: 14.0/apache/Dockerfile
modified: 14.0/apache/config/redis.config.php
modified: 14.0/fpm-alpine/Dockerfile
modified: 14.0/fpm-alpine/config/redis.config.php
modified: 14.0/fpm/Dockerfile
modified: 14.0/fpm/config/redis.config.php
modified: 15.0/apache/Dockerfile
modified: 15.0/apache/config/redis.config.php
modified: 15.0/fpm-alpine/Dockerfile
modified: 15.0/fpm-alpine/config/redis.config.php
modified: 15.0/fpm/Dockerfile
modified: 15.0/fpm/config/redis.config.php
modified: README.md
Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
marceljd
d1db681058
Update redis.config.php
...
Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
marceljd
536fb66212
Only redis_host without port
...
Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
marceljd
ba4c1359b9
set redis environment variables
...
Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
Marc Brückner
45bf61d190
remove admin password and user name from autoconfig
2018-09-14 08:27:21 +02:00
Tilo Spannagel
fd0cc806c8
Pretty URLs for apache
2017-09-14 10:23:46 +02:00
Tilo Spannagel
d87b840646
Add data directory default
2017-08-29 11:54:54 +02:00
Tilo Spannagel
ea347ffbca
Add NEXTCLOUD_ADMIN_USER and NEXTCLOUD_ADMIN_PASSWORD
2017-08-29 10:58:20 +02:00
Tilo Spannagel
8a61625cd3
Add autoconfig.php
2017-08-29 01:07:09 +02:00
Tilo Spannagel
f4309b27dc
Add apcu.config.php
2017-07-01 15:06:05 +02:00
Tilo Spannagel
40212aaa24
Move apps.config.php into config dir
2017-07-01 14:39:23 +02:00