Update content
This commit is contained in:
parent
5fbdb05928
commit
528b626455
|
@ -1,7 +0,0 @@
|
|||
TIMEZONE=Europe/Paris
|
||||
NAME=histoiredunpied
|
||||
URL=histoiredunpied.com
|
||||
IMAGE=registry.weko.io/nginx-lowtech:0.0.3
|
||||
HUGO_VERSION=0.67.1
|
||||
|
||||
LOG_PATH=/var/log/nginx/access.log
|
|
@ -14,6 +14,13 @@ Pour construire le site :
|
|||
hugo -D
|
||||
```
|
||||
|
||||
## Logs
|
||||
|
||||
```
|
||||
ssh obelix
|
||||
docker run -**t --rm -v /home/pi/backups/histoiredunpied:/backup -v histoiredunpied-log-volume:/logs alpine:3.11.5 ash
|
||||
```
|
||||
|
||||
## Exemple de site
|
||||
|
||||
Voici quelques sites pour s'inspirer :
|
||||
|
|
|
@ -7,6 +7,7 @@ $gutterXS: 10px
|
|||
background-color: white
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,.1)
|
||||
border-bottom: 1px solid #ebebeb
|
||||
width: 100%
|
||||
|
||||
.card-image
|
||||
overflow: hidden
|
||||
|
@ -24,6 +25,7 @@ $gutterXS: 10px
|
|||
align-self: center
|
||||
background-color: white
|
||||
padding: $gutter
|
||||
width: 100%
|
||||
|
||||
h3
|
||||
padding: 0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Encore un peu de patience, il arrive !
|
||||
date: 2020-04-20
|
||||
date: 2020-05-21
|
||||
image: img_le livre arrive.jpg
|
||||
image_title: Anne-So court avec le livre
|
||||
draft: false
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: L'impression est lancée !
|
||||
date: 2020-04-20
|
||||
date: 2020-06-23
|
||||
image: img_impression.jpg
|
||||
image_title: extraits du livre
|
||||
draft: false
|
||||
|
|
|
@ -21,6 +21,9 @@ services:
|
|||
WEBDAV_URL: ${WEBDAV_URL}
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: true
|
||||
volumes:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
histoiredunpied-logs:
|
||||
container_name: histoiredunpied-logs
|
||||
|
@ -31,6 +34,8 @@ services:
|
|||
volumes:
|
||||
- histoiredunpied-log-volume:/var/log/nginx
|
||||
- histoiredunpied-stats:/usr/share/nginx/html/stats
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: true
|
||||
|
||||
|
@ -43,18 +48,13 @@ services:
|
|||
volumes:
|
||||
- histoiredunpied-log-volume:/var/log/nginx
|
||||
- histoiredunpied-stats:/usr/share/nginx/html/stats
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
|
||||
traefik.http.routers.histoiredunpied.rule: "Host(`${URL}`)"
|
||||
traefik.http.routers.histoiredunpied.entrypoints: "websecure"
|
||||
traefik.http.routers.histoiredunpied.tls.certResolver: "letsencrypt"
|
||||
|
||||
# Redirect https://www to https://
|
||||
traefik.http.routers.histoiredunpied-redirect-www.rule: "Host(`www.${URL}`)"
|
||||
traefik.http.routers.histoiredunpied-redirect-www.entrypoints: "websecure"
|
||||
traefik.http.routers.histoiredunpied-redirect-www.tls.certResolver: "letsencrypt"
|
||||
traefik.http.routers.histoiredunpied-redirect-www.middlewares: "redirect-www@docker"
|
||||
traefik.http.routers.histoiredunpied.entrypoints: "web"
|
||||
|
||||
com.centurylinklabs.watchtower.enable: true
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue