Compare commits
2 commits
fea46b2af3
...
7af8fdf898
Author | SHA1 | Date | |
---|---|---|---|
7af8fdf898 | |||
19f8849420 |
2 changed files with 14 additions and 3 deletions
14
README.md
14
README.md
|
@ -290,13 +290,23 @@ or use Dotclear buitin update system but themes wiil not be updated.
|
|||
* Add mail support.
|
||||
|
||||
|
||||
### 5. CONTRIBUTING
|
||||
### 5. SECURITY
|
||||
|
||||
* Nginx master process runs as root and set uid/gid to user www
|
||||
* PHP-FPM master process runs as root and set uid/gid to user www
|
||||
* Docker image entrypoint runs as root and set runuser to www at its end
|
||||
* Dotclear application files are chown to user www
|
||||
|
||||
For security report see [SECURITY file](/SECURITY.md) or open a ticket on github repository.
|
||||
|
||||
|
||||
### 6. CONTRIBUTING
|
||||
|
||||
This image is an open source project. If you'd like to contribute, please read the [CONTRIBUTING file](/CONTRIBUTING.md).
|
||||
You can submit a pull request, or feel free to use any other way you'd prefer.
|
||||
|
||||
|
||||
### 6. LICENSE
|
||||
### 7. LICENSE
|
||||
|
||||
Copyright Jean-Christian Paul Denis
|
||||
AGPL-v3 <https://www.gnu.org/licenses/agpl-3.0.html>
|
||||
|
|
|
@ -99,4 +99,5 @@ echo >&2 '└──'
|
|||
php-fpm84 -D # FPM must start first in daemon mode
|
||||
nginx # Then nginx in no daemon mode
|
||||
|
||||
exec su - www -c "$*"
|
||||
# Switch from user root to wwww
|
||||
exec runuser -u www "$@"
|
Loading…
Reference in a new issue