Commit graph

59 commits

Author SHA1 Message Date
Mouse Reeve
0a6c14dc8a Merge branch 'main' into production 2022-02-04 18:13:00 -08:00
Mouse Reeve
ea035b9fbe Don't expose unnecessary ports 2022-02-04 17:58:29 -08:00
Mouse Reeve
637600763b Merge branch 'main' into production 2022-01-07 10:25:39 -08:00
Mouse Reeve
c89b8ee5db Updates flower 2022-01-07 09:45:21 -08:00
Mouse Reeve
d650585858 Merge branch 'main' into production 2022-01-06 12:23:07 -08:00
Mouse Reeve
bebb2c167e Use redis with password in dev 2022-01-05 08:52:28 -08:00
Mouse Reeve
7744b9a117 Merge branch 'main' into production 2021-09-22 12:34:22 -07:00
Mouse Reeve
41d34c6d4b Correctly use custom postgres ports 2021-09-22 08:13:31 -07:00
Mouse Reeve
8f50f8758c Merge branch 'main' into production 2021-09-08 09:09:09 -07:00
Mouse Reeve
c0b662cbd7 Adds priority queues to celery 2021-09-07 16:06:54 -07:00
Mouse Reeve
c3f938d500 Merge branch 'main' into production 2021-06-05 12:53:03 -07:00
Mouse Reeve
8086b9bca5 Reverts to functional certbot configuration 2021-06-05 10:46:41 -07:00
bcj
31deb36c85 URL-Encode password in broker_url
Needed to prevent connection errors if the password contains non-urlsafe characters.

Dockerfile change because all the services using it are mirroring ./ in /app now anyway.
Flower needs because it needs bookwyrm in order to read the celerywyrm config (because flower only allows overwriting broker_url from the command line and we want to do it in Python so we have access to a urlencode function).
2021-05-23 23:49:12 -05:00
bcj
76ba116d2f Remove the redis_activity ports listing
It is misleading, it isn't binding to that port
2021-05-18 23:11:02 -05:00
bcj
24152c0129 Read flower port from .env 2021-05-18 18:38:09 -05:00
bcj
238862a4cf Have redis_* grab port information from .env 2021-05-18 00:54:15 -05:00
bcj
bad39aef55 Remove the redis_activity ports listing
It is misleading, it isn't binding to that port
2021-05-17 00:07:59 -05:00
bcj
83078cd424 Combine duplicate redis_* volumes in compose file.
I _think_ yaml handles duplicates by overwriting so the conf file was not being added
2021-05-17 00:05:11 -05:00
bcj
892d338adc Read flower port from .env 2021-05-17 00:03:51 -05:00
Mouse Reeve
9ad369203f Merge branch 'main' into production 2021-04-15 16:41:50 -07:00
Mouse Reeve
cda5be65f8 Persistence for redis images 2021-04-15 14:55:08 -07:00
Mouse Reeve
d54286b571 Merge branch 'main' into production 2021-04-13 13:12:44 -07:00
Pablo Barton
d38efa9a9d Easier to deploy by avoiding merge conflicts in production 2021-04-11 13:12:50 -04:00
Mouse Reeve
34fb1d2526 Revert "Revert "Prod redis activitystream""
This reverts commit 127881f56a.
2021-03-25 11:00:37 -07:00
Mouse Reeve
127881f56a
Revert "Prod redis activitystream" 2021-03-24 08:12:03 -07:00
Mouse Reeve
af72488cd9 Production config for new redis image 2021-03-23 20:05:45 -07:00
Mouse Reeve
f97efc2f86 Merge branch 'main' into production 2021-03-23 18:29:39 -07:00
Mouse Reeve
ebc01362e6 Adds redis image for activity streams 2021-03-22 12:50:55 -07:00
Mouse Reeve
94d18f6c24 Merge branch 'main' into production 2021-03-20 20:47:53 -07:00
bcj
015d45ef99 Start cron on db service start
init.d isn't run when docker containers are run so we need to modify the entrypoint.
This commit makes the ugly choice of injecting the command in automatically in order to avoid the need to manually maintain the images entrypoint.
2021-03-08 23:09:54 -06:00
Fabien Basmaison
4de30effa5 [lint] Fix indentation in .yaml files. 2021-03-04 19:44:12 +01:00
Mouse Reeve
08cf668233 Use gunicorn as production runner 2021-01-05 19:28:13 -08:00
Mouse Reeve
a29a5dbde9 uses basic auth for flower 2021-01-05 12:52:10 -08:00
Mouse Reeve
d3192fb1bb Fixes acme challenge path for certbot renewal 2021-01-02 12:14:51 -08:00
Mouse Reeve
2d96c8a35a Merge branch 'main' into production 2020-11-08 20:17:52 -08:00
Jim Fingal
0b8a9cf1a6 Add support for pytest 2020-11-08 12:14:57 -08:00
Mouse Reeve
0574e36602 Merge branch 'main' into production 2020-11-07 19:02:05 -08:00
Jim Fingal
ca1aa1f70f Run docker flower in the main container for consistency 2020-11-07 18:25:17 -08:00
Mouse Reeve
d6a166d9db Merge branch 'main' into production 2020-10-31 11:21:26 -07:00
Mouse Reeve
c4ed174746 Adds flower for celery monitoring 2020-10-31 11:18:40 -07:00
Mouse Reeve
9c68b6d430
Merge pull request #244 from mouse-reeve/cron
Adds database backup crontab
2020-10-28 16:33:49 -07:00
Mouse Reeve
687ff5a6d7 Gets database cron into the right image 2020-10-28 15:56:25 -07:00
Mouse Reeve
be1a26d32b Fixes redis conf location in image 2020-10-28 11:51:25 -07:00
Mouse Reeve
54b924a4e2 Secure redis.conf 2020-10-28 11:37:28 -07:00
Mouse Reeve
439feac110 Use redis password in production 2020-10-27 12:30:34 -07:00
Mouse Reeve
4b32948fd3 oops keep the .env stuff 2020-10-16 13:22:09 -07:00
Mouse Reeve
cae7bbf834 oh apparently I DID need to explicitly name .env 2020-10-16 13:20:12 -07:00
Mouse Reeve
b8040cd0dc Move prod config files to prod branch 2020-10-16 13:02:58 -07:00
Mouse Reeve
4b993fb5d6 env and config for production 2020-10-16 12:55:32 -07:00
Mouse Reeve
e24eca7da0 Config files for prod deployment 2020-10-05 14:22:37 -07:00