mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-18 02:56:30 +08:00
同步1.9.0
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
PINPOINT_VERSION=2.0.1
|
||||
|
||||
### Pinpoint-mysql
|
||||
MYSQL_ROOT_PASSWORD=root123
|
||||
MYSQL_USER=admin
|
||||
MYSQL_PASSWORD=admin
|
||||
MYSQL_DATABASE=pinpoint
|
||||
@@ -0,0 +1,11 @@
|
||||
FROM mysql:5.7
|
||||
|
||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.0.1}
|
||||
|
||||
RUN apt update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates wget \
|
||||
&& wget -O /docker-entrypoint-initdb.d/CreateTableStatement-mysql.sql "https://raw.githubusercontent.com/naver/pinpoint/v$PINPOINT_VERSION/web/src/main/resources/sql/CreateTableStatement-mysql.sql" \
|
||||
&& wget -O /docker-entrypoint-initdb.d/SpringBatchJobRepositorySchema-mysql.sql "https://raw.githubusercontent.com/naver/pinpoint/v$PINPOINT_VERSION/web/src/main/resources/sql/SpringBatchJobRepositorySchema-mysql.sql" \
|
||||
&& sed -i '/^--/d' /docker-entrypoint-initdb.d/CreateTableStatement-mysql.sql \
|
||||
&& sed -i '/^--/d' /docker-entrypoint-initdb.d/SpringBatchJobRepositorySchema-mysql.sql \
|
||||
&& apt-get purge -y --auto-remove ca-certificates wget
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
## Pinpoint Mysql
|
||||
|
||||
This Docker image contains the Pinpoint Mysql component of the Pinpoint application monitoring system.
|
||||
|
||||
## Supported Tags
|
||||
|
||||
- 2.0.1
|
||||
- 1.8.5
|
||||
- 1.8.4
|
||||
- 1.8.3
|
||||
- 1.8.2
|
||||
- 1.8.1
|
||||
- 1.8.0
|
||||
- 1.7.3
|
||||
- 1.7.2
|
||||
|
||||
Please see [Pinpoint-Docker GitHub repository](https://github.com/naver/pinpoint-docker) for further information on how to run, configure and build this image.
|
||||
|
||||
## Any Issues or Suggestions?
|
||||
|
||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/naver/pinpoint/issues).
|
||||
Contributions on the pinpoint-docker image is also always welcome.
|
||||
|
||||
## License
|
||||
|
||||
Pinpoint is licensed under the Apache License, Version 2.0.
|
||||
See [LICENSE](https://github.com/naver/pinpoint/blob/master/LICENSE) for full license text.
|
||||
|
||||
```
|
||||
Copyright 2018 NAVER Corp.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
```
|
||||
@@ -0,0 +1,25 @@
|
||||
version: "3.6"
|
||||
|
||||
services:
|
||||
pinpoint-mysql:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
- PINPOINT_VERSION=${PINPOINT_VERSION}
|
||||
|
||||
container_name: pinpoint-mysql
|
||||
restart: always
|
||||
image: "pinpointdocker/pinpoint-mysql:${PINPOINT_VERSION}"
|
||||
|
||||
hostname: pinpoint-mysql
|
||||
ports:
|
||||
- "13306:3306"
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||
- MYSQL_USER=${MYSQL_USER}
|
||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||
|
||||
volumes:
|
||||
- ./var/lib/mysql
|
||||
Reference in New Issue
Block a user