Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add simple self hosted setup #321

Closed

Conversation

shaunwarman
Copy link
Contributor

@shaunwarman shaunwarman commented Feb 11, 2025

This PR adds a personal self hosted option curated by a bash script through curl like common self hosted entry points. There are also some utility functions to help in some common maintenance tasks.

The setup leverages docker for portability and packaging and is described in the docker-compose-self-hosted.yml file.

TODO

  • - Clean up / simplify documentation
  • - Retest script e2e and script utilities
  • - get back to single .env file
  • - Add bree back in
  • - Add auto certbot renew setup for cloudflare, etc?
  • - Setup aws sqlite backups?
  • - ...

Next steps: 1-click on Digital Ocean, Railway, Vercel, etc

smtp:
condition: service_healthy

# bree:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: Will update jobs/ to simplify what runs in self hosted mode

@shaunwarman shaunwarman force-pushed the feat/self-hosted-mvp branch 7 times, most recently from ab4d747 to 80be9a4 Compare February 12, 2025 03:56
Copy link

socket-security bot commented Feb 12, 2025

No dependency changes detected. Learn more about Socket for GitHub ↗︎

👍 No dependency changes detected in pull request

@shaunwarman shaunwarman force-pushed the feat/self-hosted-mvp branch 3 times, most recently from b9b1e5c to 36a61d6 Compare February 13, 2025 02:58
@shaunwarman shaunwarman force-pushed the feat/self-hosted-mvp branch 7 times, most recently from 748ca70 to f7660c3 Compare February 28, 2025 03:22
@shaunwarman shaunwarman force-pushed the feat/self-hosted-mvp branch 4 times, most recently from 488d045 to 4cead4b Compare March 10, 2025 03:29
@shaunwarman shaunwarman force-pushed the feat/self-hosted-mvp branch 2 times, most recently from 3b5bb6a to e494c05 Compare March 19, 2025 16:10
@shaunwarman shaunwarman force-pushed the feat/self-hosted-mvp branch 2 times, most recently from 60efd14 to 3a6dad5 Compare March 26, 2025 13:00
@shaunwarman shaunwarman force-pushed the feat/self-hosted-mvp branch 12 times, most recently from 73a638b to 3716e21 Compare April 2, 2025 04:53
@shaunwarman shaunwarman force-pushed the feat/self-hosted-mvp branch from d1438ac to 8da2288 Compare April 3, 2025 03:12
@shaunwarman shaunwarman force-pushed the feat/self-hosted-mvp branch 5 times, most recently from 7ee304b to 5246a56 Compare April 5, 2025 03:41
return next();
}

// arbitrary block due to stripe spam unresolved in november 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was taken out in latest code, you can remove it.

#### Why are my outgoing emails timing out?

If you see a message like Connection timed out when connecting to MX server... then you may need to check if port 25 is blocked. It is common for ISPs or cloud providers to block this by default where you may need to reach out to support / file a ticket to get this opened up.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two sections below should probably be consolidated to both check IP reputation and best practices, and you can link to the section in the FAQ at /faq#why-are-my-emails-landing-in-spam-and-junk-and-how-can-i-check-my-domain-reputation.

}
}

module.exports = auth;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great!

@shaunwarman shaunwarman force-pushed the feat/self-hosted-mvp branch from 5246a56 to 595d346 Compare April 5, 2025 15:15
@shaunwarman shaunwarman closed this Apr 5, 2025
@titanism
Copy link
Contributor

titanism commented Apr 5, 2025

Defer to #340

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants