request assets give index.html
used image:
- Image: framasoft/mobilizon:3.0.0
- Image ID: docker.io/framasoft/mobilizon@sha256:4a43ce02cdd65c2d8fb472ff9a1a6979e4bc70dcbc4cb5f64491dcd7cbf5339a
inside container:
ls /lib/mobilizon-3.0.0/priv/static/assets/main.f0366fde.css
outside:
❯ curl https://bremen.k8s.n.sum7.eu/assets/main.b7822860.js
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png" sizes="152x152">
<link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#ffd599">
<meta name="theme-color" content="#ffd599">
<script>
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark')
} else {
document.documentElement.classList.remove('dark')
}
</script>
<title>Bremen.social - Test - Mobilizon</title><meta content="Change this to a proper description of your instance" name="description"><meta content="Bremen.social - Test - Mobilizon" property="og:title"><meta content="https://bremen.k8s.n.sum7.eu" property="og:url"><meta content="Change this to a proper description of your instance" property="og:description"><meta content="website" property="og:type"><script type="application/ld+json">{"@context":"http://schema.org","@type":"WebSite","name":"Bremen.social - Test - Mobilizon","potentialAction":{"@type":"SearchAction","query-input":"required name=search_term","target":"https://bremen.k8s.n.sum7.eu/search?term={search_term}"},"url":"https://bremen.k8s.n.sum7.eu"}</script>
<link phx-track-static rel="stylesheet" href="/assets/main.f0366fde.css"/>
<script type="module" crossorigin defer phx-track-static src="/assets/main.b7822860.js"></script>
</head>
<body>
<noscript>
<strong>
We're sorry but Mobilizon doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
should answer with the static file.
PS: I try to develop an helmchart for switching from source-code hosting to this container based hosting (and upgrade to version 3) - you could found current state here: https://dev.sum7.eu/genofire/k8s/src/branch/main/charts/mobilizon
Edited by Geno