forked from coop-cloud/writefreely
515f110b2f295d8699125dfc6dddd7e14b3f3b26
writefreely
An open source platform for building a writing space on the web.
- Category: Apps
- Status: 2, beta
- Image:
writeas/writefreely, 4, upstream - Healthcheck: 3
- Backups: 1
- Email: 3
- Tests: No
- SSO: 1
Basic usage
- Set up Docker Swarm and [
abra] - Deploy [
coop-cloud/traefik] abra app new writefreely --secrets(optionally with--passif you'd like to save secrets inpass)abra app YOURAPPDOMAIN config- be sure to changeDOMAINto something that resolves to your Docker swarm boxabra app YOURAPPDOMAIN deploy- Open the configured domain in your browser to finish set-up
Post-install
./first_deploy.sh <app name>
Keycloak setup
Until this is fixed, you have to migrate the db yourself.
Get into a db shell with the following:
db_passwd=$(abra app run <app name> db cat /run/secrets/db_password)
abra app run <app name> db mysql -u writeas -p"$db_passwd" writefreely
Run the migration:
ALTER TABLE 'oauth_users' MODIFY 'access_token' varchar(2048);
For the OAUTH_HOST config, it uses this format: https://keycloak.domain.here/auth/realms/<your realm>/protocol/openid-connect.
Acknowledgements
Thanks to @knoflook for packaging work ❤️
Description
Languages
Shell
100%