[#5] supplements for mysql
This commit is contained in:
parent
43dd5bee83
commit
c5a34e9d20
|
@ -44,7 +44,7 @@ services:
|
|||
|
||||
container_name: pinpoint-mysql
|
||||
restart: always
|
||||
image: pinpointdocker/pinpoint-mysql:${PINPOINT_VERSION}
|
||||
image: "pinpointdocker/pinpoint-mysql:${PINPOINT_VERSION}"
|
||||
hostname: pinpoint-mysql
|
||||
ports:
|
||||
- "13306:3306"
|
||||
|
|
|
@ -1 +1,7 @@
|
|||
PINPOINT_VERSION=1.8.0
|
||||
|
||||
### Pinpoint-mysql
|
||||
MYSQL_ROOT_PASSWORD=root123
|
||||
MYSQL_USER=admin
|
||||
MYSQL_PASSWORD=admin
|
||||
MYSQL_DATABASE=pinpoint
|
|
@ -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
|
Loading…
Reference in New Issue