Commit Graph

9 Commits

Author SHA1 Message Date
Hakan Ensari
a998f2048a Revert "Fold back docker-compose configuration into single file"
This reverts commit 1d7ef2700e.
2019-12-20 00:22:38 +00:00
Hakan Ensari
1d7ef2700e Fold back docker-compose configuration into single file 2019-11-22 14:29:58 +00:00
Hakan Ensari
fb44818efb Implement fork-based daemon for scheduling jobs
Extracted from

https://github.com/discourse/discourse/blob/master/lib/demon/sidekiq.rb
2018-10-07 01:08:45 +01:00
Hakan Ensari
c07c84ad1f Revert "Replace Unicorn with Puma"
This reverts commit 11c2d760bc.
2018-09-12 00:54:39 +01:00
Hakan Ensari
11c2d760bc Replace Unicorn with Puma 2018-07-20 21:02:46 +01:00
Hakan Ensari
cfbb4ac4ac Repack app
I'm moving my company's server to a private location now that I have sold the domain. While prepping for this, I've done some cleanup and also threw in changes I had lingering on my hard drive.

- Run a single database query instead of two
- Fold the gem into the app and use Ox instead of REXML
- Simplify error handling logic
- Relax throttling
2018-03-08 23:51:36 +00:00
Hakan Ensari
697b941632 Move scheduler back to separate container
Closes #94
2018-01-08 12:12:54 +00:00
Hakan Ensari
f3e1827f2c Update rates in a separate thread in main app 2017-12-31 16:48:24 +00:00
Hakan Ensari
d74fefa9c9 Improve docker setup
- Add .dockerignore
- Use version 3
- Move wait_for_it.sh to docker-compose.yml
- Persist db data
- Use nginx-proxy
- Use Letsencrypt in production
- Rate limit in production
2017-11-09 12:37:50 +00:00