Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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`