• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    Shell
  • License
    MIT License
  • Created about 9 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a docker image base on alpine with MySQL/MariaDB

alpine-mysql

a docker image base on alpine with mysql

build image (docker)

docker build -t local/wangxian/alpine-mysql:latest .

build image (docker-compose)

cp .env-dist .env
nano .env # change environment if you need
docker-compose build

Usage (docker)

docker run -it --name mysql -p 3306:3306 -v $(pwd):/app -e MYSQL_DATABASE=admin -e MYSQL_USER=tony -e MYSQL_PASSWORD=dpa\*12d -e MYSQL_ROOT_PASSWORD=111111 local/wangxian/alpine-mysql

Usage (docker-compose)

docker-compose up -d

It will:

  • set no password for 'root' with localhost connections;
  • set password for 'root' with non-localhost connections (default is '111111');
  • create a new db (default is 'admin');
  • create an user and set his password for non-localhost connections only (defaults are 'tony' and 'dpa*12d').

More Repositories

1

ePHP-v4

simple php framework
PHP
18
star
2

backbone.vm

A MVVM plugin for Backbone.js
JavaScript
11
star
3

gorun

Gorun is a tool to automatically restart APP when go files change
Go
10
star
4

north

A Simple / Lightweight / Readable & Quick start framework for Java web
Java
6
star
5

orange

A development tool, automatically refresh the browser Like LiveEdit
Go
5
star
6

nodex

fast, simpleness web framework for node.js
JavaScript
4
star
7

m73-efi

lenovo tiny m73 opencore efi
3
star
8

alpine-python

a very samll docker image base on alpine with Python
Dockerfile
3
star
9

ePHP-v5

simple php framework - v5
PHP
2
star
10

alpine-java

This creates a Docker container running Java on Alpine Linux.
Dockerfile
2
star
11

alpine-php

This creates a Docker container running Nginx and PHP-FPM on Alpine Linux.
Dockerfile
2
star
12

ephp

ePHP v7 - a PHP micro framework
PHP
2
star
13

docs

My documents
2
star
14

jekyll-wangxian.github.io

myblog
HTML
1
star
15

trime-config

安卓 trime 配置
Lua
1
star
16

deskmini-h310-efi

ASRock DeskMini 310/COM( Intel H310/LGA 1151 ) EFI
1
star
17

alpine-redis

a very samll docker image base on alpine with Redis
Dockerfile
1
star
18

ephp-docs

gitbook - ephp-docs
1
star
19

alpine-go

Alpine Linux-base Docker image with Golang
Dockerfile
1
star
20

ephp-installer

ePHP quick start
PHP
1
star
21

maven-repo

maven repository
1
star
22

alpine-node-demo

docker image alpine-node demo
JavaScript
1
star
23

seo-express-seed

WEB application development using JavaScript , SEO optimization, back-end using the Express seed
JavaScript
1
star
24

docker-nginx

Docker image, contains alpine nginx with --with-http_sub_module ngx_cache_purge
Dockerfile
1
star
25

appui

A Mobile UI for Android and iOS use jq.mobi.
JavaScript
1
star
26

cnbetarss

cnBetaRss,一个阅读cnbeta新的rss应用
JavaScript
1
star
27

north-demos

north demos
Java
1
star
28

alpine-postgres

a docker image base on alpine with PostgreSQL
Shell
1
star