Skip to content

Commit

Permalink
fix: add ca-certs to livestream image (#23078)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh authored Jun 19, 2024
1 parent 96f60f8 commit e650a75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/lib/utils/apiHost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
3 changes: 3 additions & 0 deletions livestream/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit e650a75

Please sign in to comment.