Changes for page How to setup an XWiki docker container
Last modified by Alexandru Pentilescu on 2023/06/25 18:56
From version 55.1
edited by Alexandru Pentilescu
on 2022/06/15 22:58
on 2022/06/15 22:58
Change comment:
There is no comment for this version
To version 57.1
edited by Alexandru Pentilescu
on 2022/06/15 23:11
on 2022/06/15 23:11
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -60,6 +60,7 @@ 60 60 # The container that runs XWiki + Tomcat 61 61 web: 62 62 image: "xwiki:lts-mariadb-tomcat" 63 + restart: always 63 63 container_name: xwiki-mariadb-tomcat-web 64 64 depends_on: 65 65 - db ... ... @@ -83,6 +83,7 @@ 83 83 # The container that runs the database (mariadb) 84 84 db: 85 85 image: "mariadb:10.5" 87 + restart: always 86 86 container_name: xwiki-mariadb-db 87 87 # - We provide a xwiki.cnf file in order to configure the mysql db to support UTF8 and be case-insensitive 88 88 # We have to do it here since we use an existing image and that's how this image allows customizations. ... ... @@ -105,13 +105,6 @@ 105 105 networks: 106 106 - internal_xwiki_network 107 107 108 -networks: 109 - internal_xwiki_network: 110 - driver: bridge 111 - ipam: 112 - driver: default 113 - config: 114 - - subnet: 192.168.80.0/24 115 115 {{/code}} 116 116 117 117 There are many different configurations you can use to have an XWiki server. For one, mariadb is NOT required to install XWiki, it's simply one of many database solutions that XWiki is compatible with. Alternatively, you may use MySQL or even PostgreSQL, instead. To see docker-compose configuration options for those, please reference the full official docker reference guide for XWiki at the "External references" section of this page for more details. **Keep in mind, though, in case you do decide to use an alternative to mariadb, to download a different init.sql file than the one mentioned in the previous step!**