Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshbetz/docker-wordpress
WordPress and PHP with Memcached support.
https://github.com/joshbetz/docker-wordpress
docker wordpress
Last synced: 7 days ago
JSON representation
WordPress and PHP with Memcached support.
- Host: GitHub
- URL: https://github.com/joshbetz/docker-wordpress
- Owner: joshbetz
- Created: 2018-01-26T00:53:27.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-10T17:06:30.000Z (2 months ago)
- Last Synced: 2024-09-10T19:10:34.810Z (2 months ago)
- Topics: docker, wordpress
- Language: Shell
- Homepage: https://hub.docker.com/r/joshbetz/wordpress
- Size: 132 KB
- Stars: 8
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker WordPress
[![Build Status](https://travis-ci.org/joshbetz/docker-wordpress.svg?branch=master)](https://travis-ci.org/joshbetz/docker-wordpress)
WordPress and PHP with Memcached support.
```
docker pull joshbetz/wordpress
```## Environment Variables
```
WORDPRESS_DB_NAME
```The MySQL database WordPress will use.
```
WORDPRESS_DB_HOST
```The MySQL host.
```
MYSQL_USER
```The MySQL user with access to the given database.
```
MYSQL_PASSWORD
```The MySQL database password.
```
MYSQL_PASSWORD_FILE
```If you have a password stored in a file, for example, as a docker secret.
```
$ echo "password" | docker secret create mysql_password -
```In this case, you'd set `MYSQL_PASSWORD_FILE=/run/secrets/mysql_password`.
### WordPress secrets
Typically these would be generated by the [WordPress.org Salt
Generator](https://api.wordpress.org/secret-key/1.1/salt/).* `WORDPRESS_AUTH_KEY`
* `WORDPRESS_SECURE_AUTH_KEY`
* `WORDPRESS_LOGGED_IN_KEY`
* `WORDPRESS_NONCE_KEY`
* `WORDPRESS_AUTH_SALT`
* `WORDPRESS_SECURE_AUTH_SALT`
* `WORDPRESS_LOGGED_IN_SALT`
* `WORDPRESS_NONCE_SALT`