~denisebitca/docker-chyrp-lite

Docker image and docker-compose file for Chyrp Lite
903bca20 — Denise 11 months ago
chore(NOTICKET): removed mentions of out of github repo
refactor(readme): contribution guidelines
refactor,add(all): added upgrading script, git is latest release

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~denisebitca/docker-chyrp-lite
read/write
git@git.sr.ht:~denisebitca/docker-chyrp-lite

You can also use your local clone with git send-email.

#docker-compose configuration file for Chyrp Lite

Chyrp Lite is a MIT licensed blogging engine written in PHP.

Chyrp Lite is exposed by default to port 9000 on the host. You can visit it on 127.0.0.1:9000.

#Build

sudo docker-compose build

#Run

Before running, populate the .env file:

MYSQL_RANDOM_ROOT_PASSWORD=yes
MYSQL_PASSWORD=<password>
MYSQL_USER=<user>
MYSQL_DATABASE=chyrp

Then, run like this:

sudo docker-compose up -d

#Setup

Visit http://127.0.0.1:9000/install.php.

Select "MySQL", the hostname is db and follow your .env for everything else.

Note: Chyrp URL must be http://127.0.0.1:9000 during setup. You can change it later to the website which will host your Chyrp Lite instance, once you are ready to put it online.

Once setup is done, run sudo docker-compose exec web rm /var/www/html/install.php.

#Updating

sudo docker-compose exec web upgrade

Then, go to http://127.0.0.1:9000/upgrade.php.

#Contributing

Feel free to drop a pull request. You can also use the issue tracker.

#License

This entire project is under GPLv3 or later. Check the LICENSE file.