Commit Graph

44 Commits

Author SHA1 Message Date
raucao 061880536b Fix akkounts systemd unit stop command
Typo (not using pumactl), but we don't need to specify it to do the
right thing anyway. systemd can just send sigterm on its own.
2026-04-11 14:56:15 +04:00
raucao 3c436bb9f1 Configure LDAP for akkounts, add more Rails credentials 2025-05-06 19:41:54 +04:00
raucao d029d90214 Generate postgres user/db for akkounts, use credentials from env
Co-authored-by: Greg Karékinian <greg@karekinian.com>
2025-05-06 15:49:43 +04:00
raucao cab766c806 Update node.js, install bun, for Rails 8.0 upgrade 2025-04-29 17:51:53 +04:00
raucao 7e664723a1 Configure akkounts nostr relay URL in production 2024-06-20 15:04:17 +02:00
raucao d878b4208e Configure akkounts for nostr zaps 2024-06-02 23:03:06 +02:00
raucao 8aebb386a4 Configure Mastodon user address domain for akkounts 2024-03-27 20:19:24 +04:00
raucao 263eb88b72 Add new env var for akkounts 2024-03-14 23:05:05 +01:00
raucao 08c604962c Upgrade Ruby for latest akkounts release 2024-03-11 16:13:30 +01:00
raucao 5c1c63f94e Add S3/Garage config for akkounts 2024-01-26 10:40:36 +03:00
raucao 98543f3e7d Configure RS integration for akkounts 2024-01-26 09:01:55 +03:00
raucao 7ab83d3d82 Section header comments for ENV vars
Improve readability of recipe
2024-01-26 09:00:25 +03:00
raucao 2597e211ed Add new akkounts configs 2024-01-24 16:18:50 +03:00
raucao f96faf9fa2 Install libvips for image manipulation in akkounts 2024-01-24 16:18:19 +03:00
Râu Cao f0968aae5b Add Drone CI config for akkounts 2023-09-01 12:51:40 +02:00
Râu Cao 1bad2939de Migrate accounts API proxy to openresty 2023-07-26 15:00:43 +02:00
Râu Cao 4b0b4b8d80 Migrate akkounts proxy to openresty 2023-07-26 13:31:28 +02:00
Greg Karékinian b9cf396d42 Deploy akkounts without the application_git cookbook
Use the built-in git resource from Chef instead. poise/application does
not work on modern Chef.
2023-06-28 16:35:56 +02:00
Râu Cao 01977e088a Configure remaining options for akkounts
And refactor attributes/variables to use the various service cookbook's
own attributes.
2023-06-28 14:27:25 +02:00
Râu Cao bcbee255f1 Add primary domain config for akkounts 2023-06-21 15:08:14 +02:00
Râu Cao 9648e071ca Configure akkounts for Discourse Connect 2023-06-04 15:24:06 +03:00
Râu Cao 2dd4d572a6 Configure akkounts domain 2023-04-04 09:32:40 +02:00
Râu Cao 797dd241e0 Improve ejabberd HTTP API configs and access
Move the listener to a separate endpoint on port 80, which is only
accessible from the private network. Change accounts.kosmos.org to use
the new endpoint via a `.local` domain instead of faking external
access.
2023-04-03 15:38:40 +02:00
Râu Cao 99d985c0d5 Configure Sentry for akkounts 2023-03-27 19:10:48 +02:00
Greg Karékinian 0c4466b040 Namespace the smtp attributes 2023-03-27 10:49:12 +02:00
Greg Karékinian 4f1fb347a8 Add new SMTP config for akkounts
This is not running on akkounts-1

closes #479
refs kosmos/akkounts#107
2023-03-24 16:55:11 +01:00
Râu Cao d8d1609572 Serve static assets from Rails in prod 2023-03-04 11:14:11 +08:00
Râu Cao cf082833a7 Add lndhub pubkey in prod, update node config 2023-03-03 21:48:38 +08:00
Râu Cao 8225e1b67b Move akkounts nginx to nginx proxy 2023-03-02 18:05:37 +08:00
basti 8f70bf5033 Move akkounts to redisio cookbook 2023-03-02 16:09:51 +08:00
Râu Cao a1ec9b4d6a Write akkounts .env config, add config for lndhub admin UI
closes #462
2023-02-13 22:39:11 +08:00
Râu Cao 991458208d Use a role for configuring LDAP hostname on clients
This way it's also easy to converge all LDAP clients at once.
2022-11-26 16:45:45 +01:00
basti 92d1bcd8c7 Add nginx proxy for akkounts/kredits API
closes #410
2022-05-24 15:03:51 +02:00
Greg Karékinian 7ffd3bbf73 Add LDAP's Zerotier IP to the akkount server's hosts 2022-04-28 12:12:10 +02:00
basti e9c5286b24 Deploy new akkounts
Requires a newer version of Ruby.
2022-02-19 11:52:48 -06:00
basti 1adf3281bf Configure/run Sidekiq for Akkounts 2021-02-03 19:53:13 +01:00
basti 12125bf0b2 Add hosts entries for ejabberd private IPs 2020-12-08 20:31:01 +01:00
basti c26fcd5b26 Remove obsolete manual daemon reload 2020-11-22 20:26:56 +01:00
basti d384f69139 Configure/deploy new akkounts app 2020-11-21 15:12:31 +01:00
basti f8af66a532 Add/fix akkounts credentials 2019-10-18 13:10:43 +02:00
Greg Karékinian 2104e81250 Add the kosmos-akkounts::nginx recipe to kosmos-akkounts::default 2019-10-18 12:30:26 +02:00
Greg Karékinian 6bb93eb5f5 Fix the path to index.js 2019-10-18 12:27:33 +02:00
Greg Karékinian c5eeab3606 Remove typescript and the compilation step
The app is now compiled during the release phase:
https://github.com/67P/akkounts-api/pull/6
2019-10-18 12:24:47 +02:00
Greg Karékinian 185982ff9f Add the initial kosmos-akkounts cookbook to deploy akkounts-api
Includes a recipe to set up nginx as a reverse proxy with a TLS
certificate for api.accounts.kosmos.org

Closes #18
Closes #20
2019-10-17 14:56:48 +02:00