Skip to content

Commit e0fefb5

Browse files
committed
added initial README
0 parents  commit e0fefb5

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# digiblink/alpine-nginx-php-fpm Docker Container
2+
3+
Maintained by [digiBlink](https://digiblink.eu)
4+
5+
Container with:
6+
7+
* Alpine Linux 3.21 (with latest security updates)
8+
* nginx 1.26.3-r0
9+
* PHP-FPM 8.4.11 (all necessary extensions to be ready for Wordpress deployment)
10+
* WP-CLI 2.12.0
11+
* git, bash
12+
13+
## Usage
14+
15+
To get it running just enter:
16+
17+
`docker run -d --name your_container -v /sites/yourdomain.com:/DATA -p 80:80 -t digiblink/alpine-nginx-php-fpm`
18+
19+
After that you can use BusyBox bash, to log into container and use [WP-CLI](http://wp-cli.org), to install [WordPress](https://wordpress.org):
20+
21+
`docker exec -ti your_container bash`
22+
23+
After logging in to manage WordPress issue following commands:
24+
25+
```
26+
su www-data
27+
cd /DATA/htdocs/current
28+
wp-cli
29+
```

0 commit comments

Comments
 (0)