A simple init script solution for a docker compose ready WriteFreely instance.
|
|
1 mese fa | |
|---|---|---|
| bootstrap | 1 mese fa | |
| production | 1 mese fa | |
| .gitignore | 1 mese fa | |
| LICENSE | 1 mese fa | |
| Readme.md | 1 mese fa | |
| init.sh | 1 mese fa | |
| track_defaults.patch | 1 mese fa |
First, download the release of writefreely for your operating system. See the releases page on GitHub and place it in the root of this repository.
Next, run init.sh to prepare the production ready environment. init.sh does
the following in order.
Copies a writefreely tarball to ./bootstrap
Uses docker run to run writefreely config start, copying results to
./bootstrap/data
Copies a writefreely tarball to ./production, alongside files from
./bootstrap/data
Runs docker compose build to create the image
Finally, edit the docker-compose.yml file in ./production. The existing
compose file provides some sensible defaults, but you may customize as you see
fit.
When ready, use cd into production and use docker compose up to run the
resulting production ready image.
To contribute:
commit all changes to a publicly accessible git repository.
add the output of git request-pull and a description of your changes to
cc-writefreely@googlegroups.com via email or through the
web ui.