Comments (6)
@unixfox Galera seems a bit complicated image. Study is needed It will be difficult soon, but I'll see when I have time.
from bitnami-compat.
@unixfox added But it's hard to test because I haven't used this image yet.
from bitnami-compat.
Thank you, I'll test that and I'll get back to you if it works or not :).
from bitnami-compat.
I just tried and unfortunately it doesn't fully work, the containers boots up, but it is missing some librairies for the MariaDB replication:
galera-mariadb-galera-1-1 | 2022-02-10 16:09:26 0 [Note] /opt/bitnami/mariadb/sbin/mysqld (server 10.6.5-MariaDB-1:10.6.5+maria~buster-log) starting as process 1 ...
galera-mariadb-galera-1-1 | 2022-02-10 16:09:26 0 [Note] WSREP: Loading provider /opt/bitnami/mariadb/lib/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
galera-mariadb-galera-1-1 | 2022-02-10 16:09:26 0 [Note] WSREP: wsrep_load(): loading provider library '/opt/bitnami/mariadb/lib/libgalera_smm.so'
galera-mariadb-galera-1-1 | 2022-02-10 16:09:26 0 [ERROR] WSREP: wsrep_load(): dlopen(): /opt/bitnami/mariadb/lib/libgalera_smm.so: cannot open shared object file: No such file or directory
galera-mariadb-galera-1-1 | 2022-02-10 16:09:26 0 [ERROR] WSREP: Failed to create a new provider '/opt/bitnami/mariadb/lib/libgalera_smm.so' with options '': Failed to load wsrep library
galera-mariadb-galera-1-1 | 2022-02-10 16:09:26 0 [ERROR] WSREP: Failed to load provider
galera-mariadb-galera-1-1 | 2022-02-10 16:09:26 0 [ERROR] Aborting
Here is an example docker-compose file if you want to test:
version: '2.3'
services:
mariadb-galera-0:
image: ghcr.io/zcube/bitnami-compat/mariadb-galera:10.6
environment:
- MARIADB_GALERA_CLUSTER_NAME=galera
- MARIADB_GALERA_MARIABACKUP_USER=my_mariabackup_user
- MARIADB_GALERA_MARIABACKUP_PASSWORD=my_mariabackup_password
- MARIADB_ROOT_PASSWORD=P4SSW0RD123
- MARIADB_USER=my_user
- MARIADB_PASSWORD=my_password
- MARIADB_DATABASE=my_database
- MARIADB_REPLICATION_USER=my_replication_user
- MARIADB_REPLICATION_PASSWORD=my_replication_password
volumes:
- 'mariadb_galera_data_0:/bitnami/mariadb'
healthcheck:
test: ['CMD', '/opt/bitnami/scripts/mariadb-galera/healthcheck.sh']
interval: 15s
timeout: 5s
retries: 6
mariadb-galera-1:
image: ghcr.io/zcube/bitnami-compat/mariadb-galera:10.6
command:
- bash
- -ec
- |
# Wait 20 seconds to guarantee creation order
sleep 20
exec /opt/bitnami/scripts/mariadb-galera/entrypoint.sh /opt/bitnami/scripts/mariadb-galera/run.sh
environment:
- MARIADB_GALERA_CLUSTER_NAME=galera
- MARIADB_GALERA_CLUSTER_ADDRESS=gcomm://mariadb-galera-0:4567,0.0.0.0:4567
- MARIADB_GALERA_MARIABACKUP_USER=my_mariabackup_user
- MARIADB_GALERA_MARIABACKUP_PASSWORD=my_mariabackup_password
- MARIADB_ROOT_PASSWORD=P4SSW0RD123
- MARIADB_REPLICATION_USER=my_replication_user
- MARIADB_REPLICATION_PASSWORD=my_replication_password
volumes:
- 'mariadb_galera_data_1:/bitnami/mariadb'
healthcheck:
test: ['CMD', '/opt/bitnami/scripts/mariadb-galera/healthcheck.sh']
start_period: 20s
interval: 15s
timeout: 5s
retries: 6
depends_on:
- mariadb-galera-0
volumes:
mariadb_galera_data_0:
driver: local
mariadb_galera_data_1:
driver: local
from bitnami-compat.
@unixfox It will probably work.
from bitnami-compat.
Thank you, it does indeed work great!
from bitnami-compat.
Related Issues (20)
- Supported Bitnami chart list HOT 1
- Add test step to CI/CD HOT 1
- Add Vulnerability Scanner and Publish Results
- Current Status
- Classify if there is an official chart.
- Document repository URLs and languages ββfor unbuilt components
- Add other charts to the test.
- Discourse marked as supported yet not built? HOT 1
- Build squash image for size reduction. HOT 4
- Postgresql image (15.1.0-debian-11-r19) HOT 1
- JIT-related segmentation fault issue when building rabbitmq on arm64 HOT 3
- Can't pull image for mongodb 5.0.6 HOT 10
- Limit the versions that get generated, built and published HOT 5
- Postgres config incorrect HOT 8
- yq options don't seem to be working in `scripts/generateValues.sh` HOT 3
- How to specify an older version
- systemLogVerbosity not working HOT 3
- mkdir: cannot create directory '/bitnami/mongodb': Permission denied HOT 1
- MongoDB 6 image is not compatible with latest bintami chart (>14.12.0) HOT 3
- I can not download HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitnami-compat.