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

From version 54.1
edited by Alexandru Pentilescu
on 2022/06/15 21:02
Change comment: There is no comment for this version
To version 56.1
edited by Alexandru Pentilescu
on 2022/06/15 23:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -54,12 +54,13 @@
54 54  # ---------------------------------------------------------------------------
55 55  version: '2'
56 56  networks:
57 - bridge:
57 + internal_xwiki_network:
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
63 63   container_name: xwiki-mariadb-tomcat-web
64 64   depends_on:
65 65   - db
... ... @@ -78,11 +78,12 @@
78 78   volumes:
79 79   - ./data/xwiki-data:/usr/local/xwiki
80 80   networks:
81 - internal_xwiki_network:
82 - ipv4_address: 192.168.80.3
82 + - internal_xwiki_network
83 +
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.
... ... @@ -103,8 +103,7 @@
103 103   - MYSQL_PASSWORD=${DB_PASSWORD}
104 104   - MYSQL_DATABASE=${DB_DATABASE}
105 105   networks:
106 - internal_xwiki_network:
107 - ipv4_address: 192.168.80.4
108 + - internal_xwiki_network
108 108  
109 109  networks:
110 110   internal_xwiki_network: