bonfire/README.md

41 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2022-03-09 11:24:27 +13:00
# bonfire
2022-04-10 22:02:04 +12:00
A [coop-cloud](https://coopcloud.tech) recipe for deploying [Bonfire](https://bonfirenetworks.org)
2022-03-09 11:24:27 +13:00
<!-- metadata -->
* **Category**: Apps
* **Status**: 1, alpha
* **Image**: [`bonfirenetworks/bonfire`](https://hub.docker.com/r/bonfirenetworks/bonfire/tags), 4, upstream
* **Healthcheck**:
* **Backups**:
* **Email**:
* **Tests**:
* **SSO**:
<!-- endmetadata -->
## Basic usage
2025-04-21 12:33:46 +01:00
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
3. `abra app new bonfire --secrets` (optionally with `--pass` if you'd like to save secrets in `pass`) and select your server from the list and enter the domain name you want Bonfire to be served from
4. `abra app config YOUR_APP_DOMAIN_NAME` and check/edit the config keys
5. `abra app deploy YOUR_APP_DOMAIN_NAME`
2022-05-30 21:19:49 +12:00
6. Open the configured domain in your browser and sign up!
2022-03-09 11:24:27 +13:00
2022-03-12 09:18:17 +13:00
## Upgrades
2022-06-23 11:26:12 +12:00
`abra app deploy --force your-server.domain.name`
2022-03-09 11:24:27 +13:00
2022-03-30 16:38:17 +13:00
[`abra`]: https://docs.coopcloud.tech/abra/
2022-03-09 11:24:27 +13:00
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
2022-03-30 16:38:17 +13:00
## FAQ
2022-06-23 11:26:12 +12:00
2022-03-30 16:38:17 +13:00
### The app isn't starting
2022-06-23 11:26:12 +12:00
On the server, try this command to see what services are starting or not: `docker service ls` and this one to debug why one isn't starting: `docker service ps $container_name`
2024-08-08 13:34:23 +01:00
### How can I sign up via CLI?
Go into your app's Elixir console and enter something like `Bonfire.Me.make_account_only("my@email.net", "my pw")`
2022-06-23 11:26:12 +12:00
### How can I get to the app's Elixir console?
`abra app run your-server.domain.name app bin/bonfire remote`