mirror of
https://github.com/wahyd4/docker-pinpoint.git
synced 2026-08-09 04:46:24 +10:00
fix mysql database
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
CREATE TABLE `user_group` (
|
||||
`number` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`number` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`id` VARCHAR(30) NOT NULL,
|
||||
PRIMARY KEY (`number`)
|
||||
);
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
FROM mysql:5.7
|
||||
|
||||
ENV PINPOINT_VERSION=1.6.2
|
||||
|
||||
ADD https://raw.githubusercontent.com/naver/pinpoint/$PINPOINT_VERSION/web/src/main/resources/sql/CreateTableStatement-mysql.sql /docker-entrypoint-initdb.d
|
||||
ADD https://raw.githubusercontent.com/naver/pinpoint/$PINPOINT_VERSION/web/src/main/resources/sql/SpringBatchJobReositorySchema-mysql.sql /docker-entrypoint-initdb.d
|
||||
RUN chmod 0777 /docker-entrypoint-initdb.d/*.sql
|
||||
ADD CreateTableStatement-mysql.sql /docker-entrypoint-initdb.d
|
||||
ADD SpringBatchJobReositorySchema-mysql.sql /docker-entrypoint-initdb.d
|
||||
Reference in New Issue
Block a user