pinpoint-docker-fork/pinpoint-mysql/docker-compose.yml

26 lines
560 B
YAML
Raw Normal View History

2018-12-24 02:42:11 +00:00
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:
2020-04-29 03:20:14 +00:00
- "3306:3306"
2018-12-24 02:42:11 +00:00
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_USER=${MYSQL_USER}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=${MYSQL_DATABASE}
volumes:
- /var/lib/mysql