Dockerized ofxaddons webapp
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.
 
Ramsey Nasser bbd6650788 Update README, add systemd service 2 weeks ago
patch Initial commit 2 weeks ago
Dockerfile Initial commit 2 weeks ago
README.md Update README, add systemd service 2 weeks ago
docker-compose.yml Initial commit 2 weeks ago
ofxaddons.service Update README, add systemd 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.yml replaces config/database.yml in the repo with the relevant updated configuration.
  • Does not do any crawling currently, just serves the existing database.