Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/babybuddy/babybuddy-droplet
Digital Ocean droplet configuration for the Baby Buddy 1-Click app.
https://github.com/babybuddy/babybuddy-droplet
baby dashboard digitalocean django droplet parenting
Last synced: about 2 months ago
JSON representation
Digital Ocean droplet configuration for the Baby Buddy 1-Click app.
- Host: GitHub
- URL: https://github.com/babybuddy/babybuddy-droplet
- Owner: babybuddy
- Created: 2024-07-20T23:33:27.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-30T11:59:48.000Z (5 months ago)
- Last Synced: 2024-10-29T12:12:59.650Z (2 months ago)
- Topics: baby, dashboard, digitalocean, django, droplet, parenting
- Language: Shell
- Homepage: https://marketplace.digitalocean.com/apps/baby-buddy?refcode=dd79e4cfd7b6&action=deploy
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Baby Buddy Digital Ocean Droplet
This repository is used to configure and a build the Baby Buddy droplet for the Digital Ocean marketplace 1-click apps.
Configuration and settings are based on [Digital Ocean's Django 1-click droplet example](https://github.com/digitalocean/droplet-1-clicks/tree/master/django-22-04).
## Build
1. Clone and open this repository as a devcontainer
2. [Create a DigitalOcean personal access token](https://docs.digitalocean.com/reference/api/create-personal-access-token/) and set it to the `DIGITALOCEAN_TOKEN` environment variable
3. Set the [branch](https://github.com/babybuddy/babybuddy/branches/all) or [tag](https://github.com/babybuddy/babybuddy/tags) name to use for the build in [marketplace-image.json](./marketplace-image.json) under `variables.branch_or_tag`
4. Run `packer build marketplace-image.json`
## Troubleshooting
Add the `-debug` flag when building for debugging: `packer build -debug marketplace-image.json`
> In debug mode once the remote instance is instantiated, Packer will emit to the current directory an ephemeral private SSH key as a .pem file. Using that you can ssh -i into the remote build instance and see what is going on for debugging. The key will only be emitted for cloud-based builders. The ephemeral key will be deleted at the end of the Packer run during cleanup.
See: [Debugging Packer Builds](https://developer.hashicorp.com/packer/docs/debugging)
### Provisioning step had errors
See: [Shell provisioner with cloud-init fails on Ubuntu 24.04](https://github.com/digitalocean/marketplace-partners/issues/186)