18 lines
333 B
YAML
18 lines
333 B
YAML
|
version: '3.1'
|
||
|
|
||
|
services:
|
||
|
|
||
|
test_db:
|
||
|
image: mariadb
|
||
|
restart: always
|
||
|
container_name: testing_db
|
||
|
environment:
|
||
|
MYSQL_ROOT_PASSWORD: insecure
|
||
|
MYSQL_USER: insecure
|
||
|
MYSQL_PASSWORD: insecure
|
||
|
MYSQL_DATABASE: insecure
|
||
|
ports:
|
||
|
- 127.0.0.1:3306:3306
|
||
|
volumes:
|
||
|
- ./mysql:/var/lib/mysql
|