mirror of
https://github.com/fspc/ybdb.git
synced 2025-02-28 18:43:23 -05:00
This should solve mysql problem when bikebike/bikebike has not been
updated.
This commit is contained in:
parent
549430d5d5
commit
1164500c4a
@ -20,7 +20,12 @@ RUN service mysql start; \
|
|||||||
mysql ybdb < /var/www/html/sql/MySQL_Structure.sql; \
|
mysql ybdb < /var/www/html/sql/MySQL_Structure.sql; \
|
||||||
mysql ybdb < /var/www/html/sql/populate.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/
|
COPY apache2.conf /etc/supervisor/conf.d/
|
||||||
|
|
||||||
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]
|
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user