mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 18:06:36 +02: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] h2o
|
||||
- [x] httpbin :+1:
|
||||
- [x] mariadb
|
||||
- [x] mariadb-arm
|
||||
- [x] monit
|
||||
- [x] moodle :beetle:
|
||||
- [x] mosquitto
|
||||
@ -364,6 +362,7 @@ A collection of delicious docker recipes.
|
||||
- [x] jazzdd/phpvirtualbox
|
||||
- [x] sonatype/nexus3
|
||||
- [x] jupyter/notebook
|
||||
- [x] mariadb
|
||||
- [x] matomo
|
||||
- [x] metabase/metabase
|
||||
- [x] metasploitframework/metasploit-framework :skull:
|
||||
@ -431,6 +430,7 @@ A collection of delicious docker recipes.
|
||||
- [x] centurylink/watchtower
|
||||
- [x] wekanteam/wekan
|
||||
- [x] requarks/wiki
|
||||
- [x] wordpress
|
||||
- [x] yourls
|
||||
- [x] ghcr.io/linuxserver/wireguard
|
||||
- [x] apache/zeppelin
|
||||
|
@ -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
|
||||
|
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