Last modified by Alexandru Pentilescu on 2023/06/25 18:56

From version 3.1
edited by Alexandru Pentilescu
on 2022/06/08 20:51
Change comment: There is no comment for this version
To version 5.1
edited by Alexandru Pentilescu
on 2022/06/08 21:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -117,5 +117,18 @@
117 117  
118 118  One last note: the subnet 192.168.80.x IP address space configured for our docker network may be changed to whatever suits your particular needs, although, if you do use a different IP space, please keep in mind to also change the reference "mynetworks" configuration for postfix accordingly, as explained in the "Configuring Postfix to send XWiki emails" section of this page.
119 119  
120 +Now, all we need to do is create a ".env" file in the main directory ("xwiki" is the name of my directory) containing the following contents:
121 +
122 +{{code language="ini"}}
123 +DB_USER=xwiki
124 +DB_PASSWORD=<database_password>
125 +MYSQL_ROOT_PASSWORD=<mysql_root_password>
126 +DB_DATABASE=xwiki
127 +XWIKI_VERSION=1.0
128 +{{/code}}
129 +
130 +Please replace <database_password> and <mysql_root_password> with randomly generated long strings, preferrably containing a long sequence of lowercase, uppercase letters, digits and symbols. In my case, I chose 12 character long sequences for each of them. It's unlikely for a hacker to compromise your docker environment but it's still best practice to make the passwords as long and hard to guess as possible, as an extra layer of security.
131 +
120 120  = External references =
133 +
121 121  [[Official docker guide for installing XWiki>>https://github.com/xwiki/xwiki-docker/blob/master/README.md]]