Somebody got a working PostHog Template?
The current template in the marketplace is not deploying: https://railway.app/template/16rDub
22 Replies
Project ID:
N/A
N/A
can you be more specific when you say "not deploying"?
The Postgres server is starting but nothing is happening with the PostHog repo.
The PostHog Service seems to be connected with my GitHub repo and I can configure it, but there is no deployment for PostHog that is starting or triggered at all. The deployments section just stays empty and there is no history of anything happening.
I'm not sure if there were some changes in this https://github.com/PostHog/posthog repo that made might have broken the template.
GitHub
GitHub - PostHog/posthog: 🦔 PostHog provides open-source product an...
🦔 PostHog provides open-source product analytics, session recording, feature flagging and a/b testing that you can self-host. - GitHub - PostHog/posthog: 🦔 PostHog provides open-source product ana...
Just tried it out again ...
did the repo get forked into your own github account?
@Brody yes, the repo gets forked into my github account.
#🛂|readme #5
go ahead and remove the repo from your service and add it back
sorry for the mention
ok, thank will try that
Ok, thank you, it is deploying now, but the template seems to be missing some crucial services like Redis and Clickhouse - so there is no way that the PostHog template could work for anybody on Railway.
I've added those services but I seem to be stuck because of some migration step. Probably some misconfiguration on my side. I'm not sure if I'll have the time to figure this out, but I'll share it if I do.
i agree the template does seem to be lacking the needed surrounding infra
hey OP, did you mange to make it work? I'm struggling with it myself
hey beuz, sorry wasn
t able to get time to work on this
thanks anyway
Same issue.. @Brody
#🛂|readme rule 5. Please don't tag the team or conductors. I'll give the template a look today and see if I can get the creator to fix it, or I'll build up a new one
Template is not deploying for me either, would love to see this working!
Everything template would require and things PostHog is running on 😬
https://posthog.com/handbook/engineering/developing-locally
The app itself is made up of 4 components that run simultaneously:
Django server
Celery worker (handles execution of background tasks)
Node.js plugin server (handles event ingestion and apps/plugins)
React frontend built with Node.js
These components rely on a few external services:
ClickHouse – for storing big data (events, persons – analytics queries)
Kafka – for queuing events for ingestion
MinIO – for storing files (session recordings, file exports)
PostgreSQL – for storing ordinary data (users, projects, saved insights)
Redis – for caching and inter-service communication
Zookeeper – for coordinating Kafka and ClickHouse clusters
I managed to deploy all of those once but I somehow messed up zookeeper, kafka and clickhouse integration or something like that
it was really hard for me to even get there tho as a docker newbie
then I realized what the cost of hosting this would be and gave up xD
Yeah even hosting for log and error tracing just not worth it compared to integrating free plan
For small apps free is plenty and if you have paid users paying for it won’t be an issue
exactly!