2022-06-24 14:04:55 -04:00
|
|
|
# 👋 wordpress Readme 👋
|
|
|
|
|
|
|
|
wordpress README
|
|
|
|
|
|
|
|
## Run container
|
|
|
|
|
|
|
|
### via command line
|
|
|
|
|
|
|
|
```shell
|
|
|
|
docker run -d \
|
|
|
|
--restart always \
|
|
|
|
--name wordpress \
|
|
|
|
--hostname wordpress \
|
|
|
|
-e TZ=${TIMEZONE:-America/New_York} \
|
|
|
|
-v $PWD/wordpress/data:/var/lib/mysql \
|
|
|
|
-v $PWD/wordpress/config:/usr/html \
|
2022-06-24 15:20:49 -04:00
|
|
|
-v $PWD/wordpress/devel:/var/lib/wordpress/devel \
|
|
|
|
-p 8081:80 \
|
2022-06-24 14:04:55 -04:00
|
|
|
casjaysdev/wordpress:latest
|
|
|
|
```
|
|
|
|
|
|
|
|
### via docker-compose
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
version: "2"
|
|
|
|
services:
|
|
|
|
wordpress:
|
2022-07-09 13:27:51 -04:00
|
|
|
image: casjaysdevdocker/wordpress
|
2022-06-24 14:04:55 -04:00
|
|
|
container_name: wordpress
|
|
|
|
environment:
|
|
|
|
- TZ=America/New_York
|
|
|
|
- HOSTNAME=wordpress
|
|
|
|
volumes:
|
|
|
|
- $HOME/.local/share/docker/storage/wordpress/data:/var/lib/mysql
|
|
|
|
- $HOME/.local/share/docker/storage/wordpress/config:/usr/html
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
restart: always
|
|
|
|
```
|
|
|
|
|
|
|
|
## Authors
|
|
|
|
|
|
|
|
🤖 Casjay: [Github](https://github.com/casjay) [Docker](https://hub.docker.com/casjay) 🤖
|
|
|
|
⛵ CasjaysDev: [Github](https://github.com/casjaysdev) [Docker](https://hub.docker.com/casjaysdev) ⛵
|