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').
- Host: GitHub
- URL: https://github.com/weseek/bitnami-wordpress-subdir
- Owner: weseek
- Created: 2017-11-14T04:18:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-24T02:37:50.000Z (over 8 years ago)
- Last Synced: 2026-03-28T16:09:02.155Z (3 months ago)
- Topics: docker-compose, wordpress
- Language: Shell
- Size: 16.6 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.