mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-20 13:58:42 +00:00
add wordpress
This commit is contained in:
parent
3bec6a3066
commit
ca163b6198
@ -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 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
image: vimagick/mariadb
|
image: mariadb:10
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=root
|
- MARIADB_ROOT_PASSWORD=root
|
||||||
- MYSQL_DATABASE=wordpress
|
- MARIADB_DATABASE=wordpress
|
||||||
restart: always
|
- 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
|
Loading…
Reference in New Issue
Block a user