creates kubernetes friendly deployment

This commit is contained in:
Robert Koch
2023-10-12 11:07:11 +11:00
parent 1ed1c9ea1d
commit b42153bcc4
10 changed files with 46 additions and 12 deletions

View File

@@ -21,6 +21,7 @@ COPY ./docker-entrypoint.sh /docker-entrypoint-initdb.d/docker-initialize.sh
# the mysql user inside the MySQL Docker container.
RUN chown -R mysql:root /docker-entrypoint-initdb.d
RUN chown -R mysql:root /scripts
# RUN chown -R mysql:root /tmp
CMD ["mysqld"]
EXPOSE 3306

View File

@@ -1,2 +1,3 @@
[mysqld]
bind-address = 0.0.0.0
bind-address = 0.0.0.0
innodb_temp_data_file_path = ../../../tmp/ibtmp1:12M:autoextend