Changes for page How to setup an XWiki docker container
Last modified by Alexandru Pentilescu on 2023/06/25 18:56
From version 10.1
edited by Alexandru Pentilescu
on 2022/06/08 21:15
on 2022/06/08 21:15
Change comment:
There is no comment for this version
To version 3.1
edited by Alexandru Pentilescu
on 2022/06/08 20:51
on 2022/06/08 20:51
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -117,33 +117,5 @@ 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 - 132 - 133 -= First run of the container = 134 - 135 -The first run is always the scariest. Start up the docker image and wait for everything to initialize: 136 - 137 -{{code language="bash"}} 138 -docker-compose up -d 139 -{{/code}} 140 - 141 -If you followed along just the way I described in this article, you shouldn't have any problems with this step. Note that XWiki takes a significant amount of time to initialize, around 10 minutes. 142 - 143 -Take your time and don't rush! 144 - 145 -When you want to see the status of your installation, visit the domain name pointing to your server at port 8081. In my case, I would visit http://pentilescu.com:8081/ 146 - 147 147 = External references = 148 - 149 149 [[Official docker guide for installing XWiki>>https://github.com/xwiki/xwiki-docker/blob/master/README.md]]