Compare commits

10 Commits

Author SHA1 Message Date
ds befa84a789 index.html aktualisiert 2026-05-15 23:33:51 +00:00
ds bed506a519 index.html aktualisiert 2026-05-15 23:30:48 +00:00
ds a06989538c index.html aktualisiert 2026-05-15 23:26:57 +00:00
ds dea89efca5 index.html aktualisiert 2026-05-15 23:03:47 +00:00
ds 46224aac1d Jenkinsfile aktualisiert 2026-05-15 22:58:39 +00:00
ds b78d46c9f0 index.html aktualisiert 2026-03-24 22:49:23 +00:00
ds d46e4eb89e Dockerfile aktualisiert 2026-03-24 22:48:53 +00:00
ds bc58551fee index.html aktualisiert 2026-03-24 22:40:49 +00:00
ds 69790191f3 index.html aktualisiert 2026-03-24 22:26:16 +00:00
ds d5de6dd54b index.html aktualisiert 2026-03-24 22:23:34 +00:00
5 changed files with 10 additions and 10 deletions
-1
View File
@@ -1,3 +1,2 @@
APP_URL=http://web1.cloud.dev.osnawiki.de APP_URL=http://web1.cloud.dev.osnawiki.de
VIRTUAL_HTTP_PORT=8041
HTTP_PORT=80 HTTP_PORT=80
+1 -1
View File
@@ -1,3 +1,3 @@
FROM nginx FROM nginx
COPY . /usr/share/nginx/html COPY ./index.html /usr/share/nginx/html/index.html
Vendored
+2 -2
View File
@@ -19,7 +19,7 @@
def imageName = "registry.dev.osnawiki.de/${env.Repo.replace('https://gitea.dev.osnawiki.de/','').replaceFirst('/','#').replaceAll('/','').replace('#','-')}:${env.Branch.toLowerCase()}-${env.BUILD_NUMBER}" def imageName = "registry.dev.osnawiki.de/${env.Repo.replace('https://gitea.dev.osnawiki.de/','').replaceFirst('/','#').replaceAll('/','').replace('#','-')}:${env.Branch.toLowerCase()}-${env.BUILD_NUMBER}"
imageName = imageName.replace('--','-') imageName = imageName.replace('--','-')
echo "Baue Image ${imageName}" echo "Baue Image ${imageName}"
//customImage = docker.build(imageName) customImage = docker.build(imageName)
} }
} }
} }
@@ -28,7 +28,7 @@
steps { steps {
script { script {
withDockerRegistry(credentialsId: 'registrycredentials', url: "https://registry.dev.osnawiki.de") { withDockerRegistry(credentialsId: 'registrycredentials', url: "https://registry.dev.osnawiki.de") {
//customImage.push("latest") customImage.push("latest")
} }
} }
} }
+4 -4
View File
@@ -1,8 +1,8 @@
services: services:
web: web:
image: registry.dev.osnawiki.de/ds-test:web1.cloud.dev.osnawiki.de-72 image: registry.dev.osnawiki.de/ds-test:latest
ports: ports:
- "127.0.0.1:${VIRTUAL_HTTP_PORT}:${HTTP_PORT}" - "127.0.0.1:${HTTP_PORT}:80"
labels: labels:
caddy: http://${APP_URL} caddy: build.dev.osnawiki.de
caddy.reverse_proxy: "{{upstreams ${HTTP_PORT}}}" caddy.reverse_proxy: "{{upstreams 80}}"
+3 -2
View File
@@ -4,11 +4,12 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HTML 5 template</title> <title>ds test jenkins build</title>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>
<body> <body>
impressum nur index.html im image<br>
update4
<script src="index.js"></script> <script src="index.js"></script>
</body> </body>
</html> </html>