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

https://github.com/weseek/bitnami-wordpress-subdir

A Wordpress based on bitnami/wordpress with replacing configs to use sub directory ('/wp').
https://github.com/weseek/bitnami-wordpress-subdir

docker-compose wordpress

Last synced: 2 months ago
JSON representation

A Wordpress based on bitnami/wordpress with replacing configs to use sub directory ('/wp').

Awesome Lists containing this project

README

          

# bitnami-wordpress-subdir

A Wordpress based on bitnami/wordpress with replacing configs to use sub directory ('/wp').

# Instration

You need to get docker-compose.yml to start bitnami-wordpress-subdir.

```
$ curl -l https://raw.githubusercontent.com/weseek/bitnami-wordpress-subdir/master/docker-compose.yml -o docker-compose.yml
```

Finished instaration, you can start bitnami-wordpress-subdir.

# How to start / stop Wordpress

```sh
# User is needed to join docker group or root authority.
$ docker-compose up/down
```

NOTE: A post is created titled 'Hello World!' every `docker-compose up`.

Then, browser can access wordpress by enter URL http://localhost/wp/.

# Maintenance (for Developer/Operator)

## How to upgrade base bitnami-wordpress

Edit bitnami/wordpress version in Dockerfile.

```sh
# Dockerfile
FROM bitnami/wordpress:4.8.3-r0 # !!!CHANGE THIS VERSION!!!
:
```

Build and test browser access. (URL http://localhost/wp/)

```sh
$ docer-compose up -d build
```

## About tagging

Add a version tag to the committed repository.
Note: It is need to follow rule bellow.

### Tagging Rule

- Make it same as the base bitnami/wordpress version.
- If you made bitnami-wordpress-subdir own modifications or extensions, add a serial number at the end of the above rule version.