Skip to content

Commit a4f55fe

Browse files
committed
Initial commit
0 parents  commit a4f55fe

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

Diff for: .gitignore

Whitespace-only changes.

Diff for: README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Dockerised Mysql DB
2+
=======
3+
4+
Simple repository to provide an alternative to installing Mysql on the host system. It also provides a Web UI (admirer) for mysql.
5+
6+
### Getting Started
7+
8+
`docker-compose up`
9+
10+
11+
### Data storage
12+
13+
Data will stored in the `data` directory. This will not be pushed to git repository.
14+
Deleting this directory content, expect .gitignore file inside it., will bring it back to clean slate.
15+

Diff for: data/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!.gitignore

Diff for: docker-compose.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Use root/example as user/password credentials
2+
version: '3.1'
3+
4+
services:
5+
6+
db:
7+
image: mysql
8+
command: --default-authentication-plugin=mysql_native_password
9+
restart: always
10+
environment:
11+
MYSQL_ROOT_PASSWORD: example
12+
volumes:
13+
- ./data:/var/lib/mysql
14+
15+
adminer:
16+
image: adminer
17+
restart: always
18+
ports:
19+
- 8080:8080

0 commit comments

Comments
 (0)