Sign inSign up

garyritchie/docker-textpattern

By garyritchie

Updated over 10 years ago

A simple Textpattern set-up.

Image
0

1.6K

garyritchie/docker-textpattern repository overview

README

A simple Textpattern set-up.

Setup

Config

Create a new file with Textpattern config from initial docker-compose up...

docker cp config.php txp-web:/var/www/html/textpattern/

Set correct timezone for PHP:

docker cp php.ini txp-web:/usr/local/etc/php/php.ini
Remove setup Directory
docker exec txp-web rm -rd /var/www/html/textpattern/setup

Importing a Database

docker exec -i txp-db mysql -u root -ptxproot txp < BACKUP/filtxp.sql

Copy Additional files and images

For example, from backup:

docker cp BACKUP/files txp-web:/var/www/html/
docker cp BACKUP/images txp-web:/var/www/html/

Tag summary

Content type

Image

Digest

Size

181.2 MB

Last updated

over 10 years ago

docker pull garyritchie/docker-textpattern