A simple init script solution for a docker compose ready WriteFreely instance.

arianagiroux 928945e673 Added some documentation updates před 1 měsícem
bootstrap c627ea5c95 Scripted bootstrapping process před 1 měsícem
production 928945e673 Added some documentation updates před 1 měsícem
.gitignore 51d8307340 Added ignore for default files před 1 měsícem
Readme.md 928945e673 Added some documentation updates před 1 měsícem
init.sh c627ea5c95 Scripted bootstrapping process před 1 měsícem
track_defaults.patch 6dd120f1db Added a patch for tracking a few ignored files před 1 měsícem

Readme.md

Usage

First, run init.sh to prepare the production ready environment. init.sh does the following, in order.

  1. Copies a writefreely tarball to ./bootstrap

  2. Uses docker run to run writefreely config start, copying results to ./bootstrap/data

  3. Copies a writefreely tarball to ./production, alonside files from ./bootstrap/data

  4. Runs docker compose build to create the image

Next, edit the docker-compose.yml file in ./production. The existing compose file provides some sensible defaults, but you may customize as you see fit.