0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00

fix: add ca-certs to livestream image (#23078)

This commit is contained in:
Frank Hamand 2024-06-19 11:15:41 +02:00 committed by GitHub
parent 96f60f80db
commit e650a759a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,8 @@ export function liveEventsHostOrigin(): string | null {
return 'https://live.us.posthog.com'
} else if (appOrigin === 'https://eu.posthog.com') {
return 'https://live.eu.posthog.com'
} else if (appOrigin === 'https://app.dev.posthog.dev') {
return 'https://live.dev.posthog.dev'
}
return 'http://localhost:8666'
}

View File

@ -21,4 +21,7 @@ RUN apt-get update && \
FROM ubuntu
COPY --from=builder /livestream /GeoLite2-City.mmdb /
COPY --from=builder /etc/ssl/certs /etc/ssl/certs
COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates
CMD ["/livestream"]