diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d8fe4fa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.project diff --git a/docker-compose.yml b/docker-compose.yml index 0a463a4..d854297 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: pinpoint-mysql: container_name: pinpoint-mysql restart: always - image: pinpointmysql:latest + image: marcosamm/pinpoint-mysql:1.6.2 ports: - "13306:3306" environment: diff --git a/pinpoint-mysql/Dockerfile b/pinpoint-mysql/Dockerfile index ca0e36f..d775f9a 100644 --- a/pinpoint-mysql/Dockerfile +++ b/pinpoint-mysql/Dockerfile @@ -3,4 +3,5 @@ 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 \ No newline at end of file +ADD https://raw.githubusercontent.com/naver/pinpoint/$PINPOINT_VERSION/web/src/main/resources/sql/SpringBatchJobReositorySchema-mysql.sql /docker-entrypoint-initdb.d +RUN chmod 0755 /docker-entrypoint-initdb.d/* \ No newline at end of file