Skip to content

Commit

Permalink
feat: Add config in compose.override.yml.dist for use MariaDB inste…
Browse files Browse the repository at this point in the history
…ad of Mysql
  • Loading branch information
eliot488995568 committed Dec 4, 2024
1 parent 31cc3a1 commit b45f1db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ fabric.properties
/generated/*
/.data/db/*
/.data/db_test/*
/.data/mariadb/*
/.data/pgsql_test/*
/.data/solr/*
/themes/BaseTheme
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ LABEL org.opencontainers.image.authors="[email protected]"
ARG UID
ARG GID

COPY --link docker/mysql/performances.cnf /etc/mysql/conf.d/performances.cnf
COPY --link docker/mariadb/performances.cnf /etc/mariadb/conf.d/performances.cnf

RUN <<EOF
usermod -u ${UID} mysql
Expand Down
5 changes: 5 additions & 0 deletions compose.override.yml.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
services:
db:
# Uncomment next line if you want to use mariaDb instead of mysql
# build:
# target: mariadb
# args:
# UID: ${UID:-1000}
ports:
- ${PUBLIC_DB_PORT}:3306/tcp
pma:
Expand Down

0 comments on commit b45f1db

Please sign in to comment.