Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bc35c5b219 | |||
| 4edcacb3a2 | |||
| 57ead42847 | |||
| 8acbcc9d30 | |||
| 402cd048dc | |||
| 4aa948898a | |||
| 034ea47dd1 |
@@ -1,2 +1,3 @@
|
||||
APP_URL=http://web1.cloud.dev.osnawiki.de
|
||||
VIRTUAL_HTTP_PORT=8041
|
||||
HTTP_PORT=80
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
FROM nginx
|
||||
|
||||
COPY ./index.html /usr/share/nginx/html/index.html
|
||||
COPY . /usr/share/nginx/html
|
||||
|
||||
Vendored
+2
-2
@@ -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}"
|
||||
imageName = imageName.replace('--','-')
|
||||
echo "Baue Image ${imageName}"
|
||||
customImage = docker.build(imageName)
|
||||
//customImage = docker.build(imageName)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -28,7 +28,7 @@
|
||||
steps {
|
||||
script {
|
||||
withDockerRegistry(credentialsId: 'registrycredentials', url: "https://registry.dev.osnawiki.de") {
|
||||
customImage.push("latest")
|
||||
//customImage.push("latest")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
services:
|
||||
web:
|
||||
image: registry.dev.osnawiki.de/ds-test:latest
|
||||
image: registry.dev.osnawiki.de/ds-test:web1.cloud.dev.osnawiki.de-72
|
||||
ports:
|
||||
- "127.0.0.1:${HTTP_PORT}:80"
|
||||
- "127.0.0.1:${VIRTUAL_HTTP_PORT}:${HTTP_PORT}"
|
||||
labels:
|
||||
caddy: build.dev.osnawiki.de
|
||||
caddy.reverse_proxy: "{{upstreams 80}}"
|
||||
caddy: http://${APP_URL}
|
||||
caddy.reverse_proxy: "{{upstreams ${HTTP_PORT}}}"
|
||||
|
||||
+2
-3
@@ -4,12 +4,11 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>ds test jenkins build</title>
|
||||
<title>HTML 5 template</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
nur index.html im image<br>
|
||||
update4
|
||||
impressum
|
||||
<script src="index.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user