mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
add wordpress
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
mariadb:
|
||||
image: vimagick/mariadb
|
||||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
- MYSQL_DATABASE=wordpress
|
||||
restart: always
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user