feat: Ajout de la configuration de base
This commit is contained in:
parent
44b24a816d
commit
1a06e5ced5
|
@ -0,0 +1,4 @@
|
|||
# Ignore everything
|
||||
**
|
||||
|
||||
!public
|
|
@ -0,0 +1,10 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
|
@ -0,0 +1,2 @@
|
|||
public
|
||||
resources
|
|
@ -0,0 +1,4 @@
|
|||
FROM registry.weko.io/nginx-lowtech:0.0.8
|
||||
|
||||
# Copie des sources du site
|
||||
COPY public /usr/share/nginx/html
|
|
@ -0,0 +1,16 @@
|
|||
languageCode: fr-fr
|
||||
defaultContentLanguage: fr
|
||||
|
||||
title: AnneSo7, pour un design responsable
|
||||
|
||||
theme:
|
||||
- hugo-theme-lowtech
|
||||
|
||||
params:
|
||||
debug: false
|
||||
description: A modifier
|
||||
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
unsafe: true
|
|
@ -0,0 +1 @@
|
|||
baseURL: http://localhost:1313/
|
|
@ -0,0 +1,2 @@
|
|||
baseURL: https://anneso7.com/
|
||||
enableRobotsTXT: true
|
|
@ -0,0 +1,2 @@
|
|||
baseURL: https://staging.anneso7.com/
|
||||
enableRobotsTXT: true
|
|
@ -0,0 +1,37 @@
|
|||
version: "3.8"
|
||||
|
||||
volumes:
|
||||
anneso-log:
|
||||
name: anneso-log
|
||||
anneso-stats:
|
||||
name: anneso-stats
|
||||
|
||||
services:
|
||||
anneso-prod:
|
||||
container_name: anneso-prod
|
||||
build: .
|
||||
restart: always
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.anneso.rule: "Host(`${URL}`)"
|
||||
traefik.http.routers.anneso.entrypoints: "web"
|
||||
volumes:
|
||||
- anneso-log:/var/log/nginx
|
||||
- anneso-stats:/usr/share/nginx/html/stats
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
anneso-stats:
|
||||
container_name: anneso-stats
|
||||
image: registry.anneso.io/goaccess:1.0.0
|
||||
restart: always
|
||||
volumes:
|
||||
- anneso-log:/var/log/nginx
|
||||
- anneso-stats:/usr/share/nginx/html/stats
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: traefik
|
|
@ -0,0 +1,19 @@
|
|||
version: "3.8"
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: traefik
|
||||
|
||||
services:
|
||||
anneso-staging:
|
||||
container_name: anneso-staging
|
||||
build: .
|
||||
restart: always
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.anneso-staging.rule: "Host(`staging.${URL}`)"
|
||||
traefik.http.routers.anneso-staging.entrypoints: "web"
|
||||
volumes:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
Loading…
Reference in New Issue