mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
15 lines
313 B
YAML
15 lines
313 B
YAML
version: "3.8"
|
|
services:
|
|
mariadb:
|
|
image: mariadb:10
|
|
ports:
|
|
- "3306:3306"
|
|
volumes:
|
|
- ./data:/var/lib/mysql
|
|
environment:
|
|
- MARIADB_ROOT_PASSWORD=root
|
|
- MARIADB_DATABASE=wordpress
|
|
- MARIADB_USER=wordpress
|
|
- MARIADB_PASSWORD=wordpress
|
|
restart: unless-stopped
|