Changes for page How to setup an XWiki docker container
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
on 2022/06/08 20:51
Change comment:
There is no comment for this version
To version 6.1
edited by Alexandru Pentilescu
on 2022/06/08 21:08
on 2022/06/08 21:08
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -117,5 +117,25 @@ 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 +The first run is always the scariest. Start up the docker image and wait for everything to initialize: 135 +{{code language="bash"}} 136 +docker-compose up -d 137 +{{/code}} 138 + 120 120 = External references = 140 + 121 121 [[Official docker guide for installing XWiki>>https://github.com/xwiki/xwiki-docker/blob/master/README.md]]