Date: Fri, 29 Mar 2024 13:56:19 +0200 (EET) Message-ID: <778457477.676.1711713379052@ip-172-30-3-56.ec2.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_675_1601396633.1711713379051" ------=_Part_675_1601396633.1711713379051 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
UPDATE: Default Dockerfile has been modified to use n= on-root user - www-data. Thus, just follow the instruction= s provided in README.
By default, the root user is used for WebSpellChecker d= eployed as a Docker container from the default image or a custom one create= d from the Dockerfile. You have an option to use non-root user - ww= w-data.
www-data is the user= that web servers on Ubuntu (Apache, nginx, for example) use by default for= normal operation.
Below is the guidance on how to proceed with www-data u= ser.
1. Open Dockerfile for editing. At the end of the RUN command, add the follow= ing lines:
... RUN ... mkdir -p /var/lib/wsc/license &&\ chown -R www-data:www-data /var/lib/wsc/license /var/run/apache2 /var/log/a= pache2 /var/lock/apache2
The first line creates a folder for the license.
The second line allows the www-data user to use the license and folders fo=
r the Apache functions.
2. Create a Docker image from the m=
odified file.
2. Start the container using www-data user.
docker = run -d -p 80:80 -u www-data webspellchecker/wproofreader