Giter VIP home page Giter VIP logo

docker-writefreely's Introduction

Docker WriteFreely

Docker Image Version (latest by date) Docker Pulls GitHub ci lint pre-commit

A multi-architecture image for writefreely.

Architectures

  • armv7
  • arm64
  • amd64

Dependencies

  • None

Usage

docker cli

$ docker run -d \
  --name=writefreely-default \
  -e TZ=America/Los_Angeles `# optional` \
  -e PUID=1000  `# optional` \
  -e PGID=1000   `# optional` \
  -p 8080:8080 \
  --restart unless-stopped \
  nicholaswilde/writefreely

docker-compose

See docker-compose.yaml.

Configuration

user uid
abc 911

Development

See docs.

Troubleshooting

See docs.

Pre-commit hook

If you want to automatically generate README.md files with a pre-commit hook, make sure you install the pre-commit binary, and add a .pre-commit-config.yaml file to your project. Then run:

$ pre-commit install
$ pre-commit install-hooks

Currently, this only works on amd64 systems.

License

Apache 2.0 License

Author

This project was started in 2021 by Nicholas Wilde.

docker-writefreely's People

Contributors

dependabot[bot] avatar nicholaswilde avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

docker-writefreely's Issues

[Feature Request] Mariadb Support

Details

Describe the solution you'd like: Mariadb support

Anything else you would like to add:

There's an issue with the site not showing correctly if the db needs to be initiated ./writefreely db init.

Additional Information:

[bug] docker-compose.yaml

Container name and tag: 0.13.1-ls1

What steps did you take and what happened:

$ docker-compose up
WARNING: Found orphan containers (writefreely-db) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Creating writefreely-default ... done
Attaching to writefreely-default
writefreely-default | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
writefreely-default | [s6-init] ensuring user provided files have correct perms...exited 0.
writefreely-default | [fix-attrs.d] applying ownership & permissions fixes...
writefreely-default | [fix-attrs.d] done.
writefreely-default | [cont-init.d] executing container initialization scripts...
writefreely-default | [cont-init.d] 01-envfile: executing... 
writefreely-default | [cont-init.d] 01-envfile: exited 0.
writefreely-default | [cont-init.d] 10-adduser: executing... 
writefreely-default | 
writefreely-default | -------------------------------------
writefreely-default |           _         ()
writefreely-default |          | |  ___   _    __
writefreely-default |          | | / __| | |  /  \ 
writefreely-default |          | | \__ \ | | | () |
writefreely-default |          |_| |___/ |_|  \__/
writefreely-default | 
writefreely-default | 
writefreely-default | Brought to you by linuxserver.io
writefreely-default | -------------------------------------
writefreely-default | 
writefreely-default | To support the app dev(s) visit:
writefreely-default | WriteFreely: https://writefreely.org/fund
writefreely-default | 
writefreely-default | To support LSIO projects visit:
writefreely-default | https://www.linuxserver.io/donate/
writefreely-default | -------------------------------------
writefreely-default | GID/UID
writefreely-default | -------------------------------------
writefreely-default | 
writefreely-default | User uid:    1000
writefreely-default | User gid:    1000
writefreely-default | -------------------------------------
writefreely-default | 
writefreely-default | [cont-init.d] 10-adduser: exited 0.
writefreely-default | [cont-init.d] 30-config: executing... 
writefreely-default | [cont-init.d] 30-config: exited 1.
writefreely-default | [cont-init.d] 40-keys: executing... 
writefreely-default | 2021/07/21 22:39:31 Loading config.ini configuration...
writefreely-default | 2021/07/21 22:39:31 keys/email.aes256 already exists. rm the file if you understand the consquences.
writefreely-default | 2021/07/21 22:39:31 keys/cookies_auth.aes256 already exists. rm the file if you understand the consquences.
writefreely-default | 2021/07/21 22:39:31 keys/cookies_enc.aes256 already exists. rm the file if you understand the consquences.
writefreely-default | 2021/07/21 22:39:31 keys/csrf.aes256 already exists. rm the file if you understand the consquences.
writefreely-default | [cont-init.d] 40-keys: exited 0.
writefreely-default | [cont-init.d] 50-permissions: executing... 
writefreely-default | [cont-init.d] 50-permissions: exited 0.
writefreely-default | [cont-init.d] 90-custom-folders: executing... 
writefreely-default | [cont-init.d] 90-custom-folders: exited 0.
writefreely-default | [cont-init.d] 99-custom-scripts: executing... 
writefreely-default | [custom-init] no custom files found exiting...
writefreely-default | [cont-init.d] 99-custom-scripts: exited 0.
writefreely-default | [cont-init.d] done.
writefreely-default | [services.d] starting services
writefreely-default | [services.d] done.
writefreely-default | 2021/07/21 22:39:31 Starting WriteFreely 0.13.1...
writefreely-default | 2021/07/21 22:39:31 Loading config.ini configuration...
writefreely-default | 2021/07/21 22:39:31 Loading templates...
writefreely-default | 2021/07/21 22:39:31 Loading pages...
writefreely-default | 2021/07/21 22:39:31 Loading user pages...
writefreely-default | 2021/07/21 22:39:31 Loading encryption keys...
writefreely-default | 2021/07/21 22:39:31 Connecting to mysql database...
writefreely-default | ERROR: 2021/07/21 22:39:31 main.go:120: connect to DB: Database ping failed: dial tcp: lookup writefreely-db: Temporary failure in name resolution

What did you expect to happen:

Anything else you would like to add:

Additional Information:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.