1
0
mirror of https://github.com/fspc/ybdb.git synced 2025-02-28 10:43:22 -05:00

This should solve mysql problem when bikebike/bikebike has not been

updated.
This commit is contained in:
Jonathan Rosenbaum 2014-12-28 03:09:37 +00:00
parent 549430d5d5
commit 1164500c4a

View File

@ -20,7 +20,12 @@ RUN service mysql start; \
mysql ybdb < /var/www/html/sql/MySQL_Structure.sql; \
mysql ybdb < /var/www/html/sql/populate.sql;
##COPY mysql.conf /etc/supervisor/conf.d/
# This solves a problem which occurs if bikebike/bikebike has not been
# updated in a long time where mysql cannot find Table mysql.db when started
# with mysqld_safe
RUN mysql_install_db;
COPY mysql.conf /etc/supervisor/conf.d/
COPY apache2.conf /etc/supervisor/conf.d/
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]