Skip to content

Commit

Permalink
Merge pull request #29 from guzman-raphael/config-issue
Browse files Browse the repository at this point in the history
Fix typo issue that prevented config from taking effect
  • Loading branch information
ixcat authored Mar 16, 2021
2 parents f67ffc6 + c385fd5 commit cfbedfe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions config/my.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ ssl-cipher=DHE-RSA-AES256-SHA
ssl-ca=/mysql_keys/ca.pem
ssl-cert=/mysql_keys/server-cert.pem
ssl-key=/mysql_keys/server-key.pem

# Set default auth plugin
default_authentication_plugin=mysql_native_password

#log-error = /var/log/mysql/error.log
Expand Down
4 changes: 2 additions & 2 deletions dist/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ RUN \
USER root

ADD ./utilities/datajoint-entrypoint.sh /datajoint-entrypoint.sh
COPY --chown=mysql:mysql ./config/my.cnf /etc/mysql/mysql.cnf
RUN chmod g+w /etc/mysql/mysql.cnf
COPY --chown=mysql:mysql ./config/my.cnf /etc/mysql/my.cnf
RUN chmod g+w /etc/mysql/my.cnf
ENTRYPOINT ["/datajoint-entrypoint.sh"]
CMD ["mysqld"]
HEALTHCHECK \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ services:
## persist data across docker-compose up/down
- ./data:/var/lib/mysql
## modify MySQL config
# - ./my.cnf:/etc/mysql/my.cnf
# - ./config/my.cnf:/etc/mysql/my.cnf

0 comments on commit cfbedfe

Please sign in to comment.