add docker file for mariadb
This commit is contained in:
parent
2e2f1d6a0e
commit
3e6b5d6e25
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
**/c.out
|
**/c.out
|
||||||
**/c.html
|
**/c.html
|
||||||
database.yml
|
database.yml
|
||||||
postgres/docker-compose.yml
|
docker/docker-compose.yml
|
||||||
|
12
docker/docker-compose-example.yml
Normal file
12
docker/docker-compose-example.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: mariadb
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
MARIADB_ROOT_PASSWORD: example
|
||||||
|
|
||||||
|
adminer:
|
||||||
|
image: adminer
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 8082:8080
|
Loading…
Reference in New Issue
Block a user