mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
add wordpress
This commit is contained in:
@@ -109,8 +109,6 @@ A collection of delicious docker recipes.
|
|||||||
- [x] frp :cn:
|
- [x] frp :cn:
|
||||||
- [x] h2o
|
- [x] h2o
|
||||||
- [x] httpbin :+1:
|
- [x] httpbin :+1:
|
||||||
- [x] mariadb
|
|
||||||
- [x] mariadb-arm
|
|
||||||
- [x] monit
|
- [x] monit
|
||||||
- [x] moodle :beetle:
|
- [x] moodle :beetle:
|
||||||
- [x] mosquitto
|
- [x] mosquitto
|
||||||
@@ -364,6 +362,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] jazzdd/phpvirtualbox
|
- [x] jazzdd/phpvirtualbox
|
||||||
- [x] sonatype/nexus3
|
- [x] sonatype/nexus3
|
||||||
- [x] jupyter/notebook
|
- [x] jupyter/notebook
|
||||||
|
- [x] mariadb
|
||||||
- [x] matomo
|
- [x] matomo
|
||||||
- [x] metabase/metabase
|
- [x] metabase/metabase
|
||||||
- [x] metasploitframework/metasploit-framework :skull:
|
- [x] metasploitframework/metasploit-framework :skull:
|
||||||
@@ -431,6 +430,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] centurylink/watchtower
|
- [x] centurylink/watchtower
|
||||||
- [x] wekanteam/wekan
|
- [x] wekanteam/wekan
|
||||||
- [x] requarks/wiki
|
- [x] requarks/wiki
|
||||||
|
- [x] wordpress
|
||||||
- [x] yourls
|
- [x] yourls
|
||||||
- [x] ghcr.io/linuxserver/wireguard
|
- [x] ghcr.io/linuxserver/wireguard
|
||||||
- [x] apache/zeppelin
|
- [x] apache/zeppelin
|
||||||
|
|||||||
@@ -1,8 +1,14 @@
|
|||||||
mariadb:
|
version: "3.8"
|
||||||
image: vimagick/mariadb
|
services:
|
||||||
ports:
|
mariadb:
|
||||||
- "3306:3306"
|
image: mariadb:10
|
||||||
environment:
|
ports:
|
||||||
- MYSQL_ROOT_PASSWORD=root
|
- "3306:3306"
|
||||||
- MYSQL_DATABASE=wordpress
|
volumes:
|
||||||
restart: always
|
- ./data:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
- MARIADB_ROOT_PASSWORD=root
|
||||||
|
- MARIADB_DATABASE=wordpress
|
||||||
|
- MARIADB_USER=wordpress
|
||||||
|
- MARIADB_PASSWORD=wordpress
|
||||||
|
restart: unless-stopped
|
||||||
|
|||||||
6
wordpress/README.md
Normal file
6
wordpress/README.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
wordpress
|
||||||
|
=========
|
||||||
|
|
||||||
|
[WordPress][1] is open source software you can use to create a beautiful website, blog, or app.
|
||||||
|
|
||||||
|
[1]: https://wordpress.org/
|
||||||
29
wordpress/docker-compose.yml
Normal file
29
wordpress/docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
wordpress:
|
||||||
|
image: wordpress:apache
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
volumes:
|
||||||
|
- ./data/wordpress:/var/www/html
|
||||||
|
environment:
|
||||||
|
- WORDPRESS_DB_HOST=mysql
|
||||||
|
- WORDPRESS_DB_USER=wordpress
|
||||||
|
- WORDPRESS_DB_PASSWORD=wordpress
|
||||||
|
- WORDPRESS_DB_NAME=wordpress
|
||||||
|
depends_on:
|
||||||
|
- mysql
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
mysql:
|
||||||
|
image: mysql:8
|
||||||
|
volumes:
|
||||||
|
- ./data/mysql:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=root
|
||||||
|
- MYSQL_DATABASE=wordpress
|
||||||
|
- MYSQL_USER=wordpress
|
||||||
|
- MYSQL_PASSWORD=wordpress
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user