bootstrap
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
src/public/
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "src/themes/terminus"]
|
||||||
|
path = src/themes/terminus
|
||||||
|
url = https://github.com/ebkalderon/terminus.git
|
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
FROM alpine:3.20 AS builder
|
||||||
|
|
||||||
|
RUN echo "@community https://dl-cdn.alpinelinux.org/alpine/v3.20/community" \
|
||||||
|
>> /etc/apk/repositories && \
|
||||||
|
apk add --no-cache zola
|
||||||
|
|
||||||
|
WORKDIR /site
|
||||||
|
COPY src/ .
|
||||||
|
RUN zola build --force
|
||||||
|
|
||||||
|
FROM nginx:alpine
|
||||||
|
COPY --from=builder /site/public /usr/share/nginx/html
|
||||||
|
EXPOSE 80
|
||||||
|
CMD ["nginx", "-g", "daemon off;"]
|
14
docker-compose.yml
Normal file
14
docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
name: zola
|
||||||
|
|
||||||
|
services:
|
||||||
|
zola:
|
||||||
|
container_name: zola
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "1313:80"
|
||||||
|
networks:
|
||||||
|
- cloudflared-net
|
||||||
|
|
||||||
|
networks:
|
||||||
|
cloudflared-net:
|
||||||
|
external: true
|
19
src/config.toml
Normal file
19
src/config.toml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# The URL the site will be built for
|
||||||
|
base_url = "http://100.100.200.0:1313"
|
||||||
|
|
||||||
|
# Whether to automatically compile all Sass files in the sass directory
|
||||||
|
compile_sass = true
|
||||||
|
|
||||||
|
# Whether to build a search index to be used later on by a JavaScript library
|
||||||
|
build_search_index = false
|
||||||
|
|
||||||
|
theme = "terminus"
|
||||||
|
title = "Raphael Bitton"
|
||||||
|
|
||||||
|
[markdown]
|
||||||
|
# Whether to do syntax highlighting
|
||||||
|
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
|
||||||
|
highlight_code = false
|
||||||
|
|
||||||
|
[extra]
|
||||||
|
# Put all your custom variables here
|
4
src/content/_index.md
Normal file
4
src/content/_index.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
+++
|
||||||
|
title = "Home"
|
||||||
|
paginate_by = 5
|
||||||
|
+++
|
1
src/themes/terminus
Submodule
1
src/themes/terminus
Submodule
Submodule src/themes/terminus added at b008df4445
Reference in New Issue
Block a user