Changes for page How to setup an XWiki docker container
Last modified by Alexandru Pentilescu on 2023/06/25 18:56
From version 56.1
edited by Alexandru Pentilescu
on 2022/06/15 23:09
on 2022/06/15 23:09
Change comment:
There is no comment for this version
To version 54.1
edited by Alexandru Pentilescu
on 2022/06/15 21:02
on 2022/06/15 21:02
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -54,13 +54,12 @@ 54 54 # --------------------------------------------------------------------------- 55 55 version: '2' 56 56 networks: 57 - internal_xwiki_network:57 + bridge: 58 58 driver: bridge 59 59 services: 60 60 # The container that runs XWiki + Tomcat 61 61 web: 62 62 image: "xwiki:lts-mariadb-tomcat" 63 - restart: always 64 64 container_name: xwiki-mariadb-tomcat-web 65 65 depends_on: 66 66 - db ... ... @@ -79,12 +79,11 @@ 79 79 volumes: 80 80 - ./data/xwiki-data:/usr/local/xwiki 81 81 networks: 82 - -internal_xwiki_network83 - 81 + internal_xwiki_network: 82 + ipv4_address: 192.168.80.3 84 84 # The container that runs the database (mariadb) 85 85 db: 86 86 image: "mariadb:10.5" 87 - restart: always 88 88 container_name: xwiki-mariadb-db 89 89 # - We provide a xwiki.cnf file in order to configure the mysql db to support UTF8 and be case-insensitive 90 90 # We have to do it here since we use an existing image and that's how this image allows customizations. ... ... @@ -105,7 +105,8 @@ 105 105 - MYSQL_PASSWORD=${DB_PASSWORD} 106 106 - MYSQL_DATABASE=${DB_DATABASE} 107 107 networks: 108 - - internal_xwiki_network 106 + internal_xwiki_network: 107 + ipv4_address: 192.168.80.4 109 109 110 110 networks: 111 111 internal_xwiki_network: