You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 weeks ago | |
|---|---|---|
| patch | 2 weeks ago | |
| Dockerfile | 2 weeks ago | |
| README.md | 2 weeks ago | |
| docker-compose.yml | 2 weeks ago | |
| ofxaddons.service | 2 weeks ago | |
README.md
ofxAddons Dockerization
Dockerized deployment of the ofxAddons web app.
Usage
# docker build --tag 'ofxaddons/app' .
# docker compose up
If you're working from a fresh clone recent versions of Docker might fail with WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree in which case run the following command before building the image.
$ git config --global --add safe.directory `pwd`
Site should be available on http://localhost:8080/
systemd Service
To make the server run on start and restart on crash copy the included ofxaddons.service to /etc/systemd/system/ofxaddons.service and run
# systemctl daemon-reload
# systemctl enable --now ofxaddons.service
Notes
- Builds commit
5a5022c, frozen to keep things reproducible. - Uses Ruby 2.4.4 and Postgres 9.6.24 to reproduce the original conditions of this codebase.
- Runs Postgres in its own Docker service rather than localhost,
patch/database.ymlreplacesconfig/database.ymlin the repo with the relevant updated configuration. - Does not do any crawling currently, just serves the existing database.