Skip to content

Commit d3ff839

Browse files
dati18outdooracorn
authored andcommitted
Add tooling to create database schema dump
Add mariadb-client to our api docker image This is needed by Laravel to run schema:dump command Also add custom mariadb-client config to enable no TLS functionality Bug: T426075
1 parent d81530b commit d3ff839

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ FROM php:8.2-apache
1616

1717
RUN apt-get update \
1818
# Needed for the imagick php extension install
19-
&& apt-get install -y --no-install-recommends libmagickwand-dev libpq-dev \
19+
&& apt-get install -y --no-install-recommends libmagickwand-dev libpq-dev mariadb-client\
2020
&& echo "" | pecl install imagick redis \
2121
&& docker-php-ext-enable imagick \
2222
&& docker-php-ext-enable redis \

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ services:
88
- ./start.sh:/usr/local/bin/start
99
- api-storage:/var/www/html/storage/
1010
- ./words:/words
11+
- ./docker.my.cnf:/etc/mysql/conf.d/custom.mysql.cnf
1112
ports:
1213
- 8082:80
1314
restart: always

docker.my.cnf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[client]
2+
skip-ssl

0 commit comments

Comments
 (0)