4 Commits

Author SHA1 Message Date
481ddb384b Update dependency markdownlint-cli to ^0.40.0
Some checks failed
renovate/artifacts Artifact file update failure
ci/woodpecker/push/renovate Pipeline was successful
ci/woodpecker/pr/renovate Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/push/master unknown status
ci/woodpecker/push/next unknown status
ci/woodpecker/pr/master unknown status
ci/woodpecker/pr/next unknown status
2024-05-08 07:45:21 +00:00
000e7d2836 fix umami script name
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/renovate Pipeline was successful
ci/woodpecker/push/master Pipeline failed
2024-05-08 09:44:29 +02:00
dc10ab67a8 fix typo
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/renovate Pipeline was successful
ci/woodpecker/push/master Pipeline failed
2024-03-24 09:26:43 +01:00
ad2d82e5aa pin sevice to ipv4 (#50)
#### 📖 Summary

<!-- Provide a summary of your changes. Describe the why and not how. -->

- workaround for ipv6 issue after updating docker
- disable healtcheck due to timing issues

#### 📑 Test Plan

> 💡 Select your test plan for the code changes.

- [x] CI pipeline
- [ ] Custom test
- [ ] No test plan

##### Details / Justification

<!-- Add your test details or justification for missing tests here. -->

#### 📚 Additional Notes

<!-- A place for additional detail notes. -->

Reviewed-on: #50
2024-03-24 09:24:16 +01:00
5 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@ RUN npm install \
FROM nginx:1.23.3-alpine as prod FROM nginx:1.23.3-alpine as prod
LABEL maintainer="marco.blessing@googlemail.com" LABEL maintainer="marco.blessing@googlemail.com"
HEALTHCHECK --interval=15s --timeout=5s \ #HEALTHCHECK --interval=15s --timeout=5s \
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1 # CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
COPY --from=builder src/public /usr/share/nignx/html/ COPY --from=builder src/public /usr/share/nignx/html/
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf

View File

@ -43,4 +43,4 @@ The next tag is used for testing any code changes on development branches and pu
This image contains the hugo based sources for my personal blog. It's made with the [Congo theme](https://github.com/jpanther/congo). The static pages are served by the included nginx server with a custom config. The custom config is needed to redirect 404 errors to a custom page. This image contains the hugo based sources for my personal blog. It's made with the [Congo theme](https://github.com/jpanther/congo). The static pages are served by the included nginx server with a custom config. The custom config is needed to redirect 404 errors to a custom page.
You can simply run the container with `docker run -it --rm -p "8080:80" ocram85/blog:latest` You can simply run the container with `docker run -it --rm -p "8080:80" ocram85/blog:latest`.

View File

@ -2,6 +2,6 @@
async async
defer defer
data-website-id="3e944f0b-6377-4a23-8bdd-64b408d13611" data-website-id="3e944f0b-6377-4a23-8bdd-64b408d13611"
src="https://umami.ocram85.com/umami.js" src="https://umami.ocram85.com/script.js"
data-domains="ocram85.com" data-domains="ocram85.com"
></script> ></script>

View File

@ -5,7 +5,7 @@ http {
include mime.types; include mime.types;
server { server {
listen 80; listen 0.0.0.0:80;
root /usr/share/nignx/html; root /usr/share/nignx/html;
index index.html; index index.html;
error_page 404 /404.html; error_page 404 /404.html;

View File

@ -28,7 +28,7 @@
"devDependencies": { "devDependencies": {
"exec-bin": "^1.0.0", "exec-bin": "^1.0.0",
"hugo-installer": "^4.0.0", "hugo-installer": "^4.0.0",
"markdownlint-cli": "^0.33.0", "markdownlint-cli": "^0.40.0",
"rimraf": "^4.0.0" "rimraf": "^4.0.0"
}, },
"otherDependencies": { "otherDependencies": {