✨ feat(): add docker-compose
Signed-off-by: ehlxr <ehlxr.me@gmail.com>
This commit is contained in:
parent
4ebec1bde5
commit
80cee69b6e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
alpine-mysql/db-data
|
17
alpine-mysql/docker-compose.yml
Normal file
17
alpine-mysql/docker-compose.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
mysql:
|
||||||
|
build:
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
context: .
|
||||||
|
image: ehlxr/alpine-mysql:latest
|
||||||
|
container_name: mysql
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: eDWyvjS2
|
||||||
|
MYSQL_USER: ehlxr
|
||||||
|
MYSQL_PASSWORD: prY6KaQC
|
||||||
|
MYSQL_DATABASE: admin
|
||||||
|
volumes:
|
||||||
|
- ./db-data:/data
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
Loading…
Reference in New Issue
Block a user