Compare commits

..

No commits in common. "93a391ca1dcec74f9aa719a906e0018a9a11b566" and "080a83c569436d49f70741f40dc3499cd53f1d61" have entirely different histories.

8 changed files with 42 additions and 20 deletions

View file

@ -2,13 +2,8 @@ FROM ghcr.io/getzola/zola:v0.17.1 as zola
COPY . /project
WORKDIR /project
RUN ["zola", "build"]
ENV PATH="/usr/local/bin:${PATH}"
CMD ["serve", "--interface", "0.0.0.0", "--port", "80", "--base-url", "codicam.penwing.org"]
#RUN ["zola", "build"]
#FROM ghcr.io/static-web-server/static-web-server:2
#WORKDIR /
#COPY --from=zola /project/public /public
FROM ghcr.io/static-web-server/static-web-server:2
WORKDIR /
COPY --from=zola /project/public /public

Binary file not shown.

View file

@ -8,8 +8,6 @@ on fait plein de trucs vachements cools
# Projets
avec des gens super géniaux
## Truc cool
[lien](@/codicam/truccool.md)

View file

@ -8,8 +8,6 @@ on fait plein de trucs vachements cools
# Projets
Big up au général Kenobiiiiiii
## Truc cool
[lien](@/roboticam/truccool.md)

View file

@ -5,11 +5,6 @@ services:
dockerfile: Dockerfile
ports:
- "8001:80"
volumes:
- ./content:/project/content
- ./templates:/project/templates
- ./static:/project/static
- ./sass:/project/sass
restart: unless-stopped
edit-codicam:
@ -29,3 +24,39 @@ services:
ports:
- "8002:8080"
restart: unless-stopped
edit-roboticam:
container_name: edit-roboticam
image: dullage/flatnotes:latest
environment:
PUID: 1000
PGID: 1000
FLATNOTES_AUTH_TYPE: "password"
FLATNOTES_USERNAME: "roboticam"
FLATNOTES_PASSWORD: "roboticam"
FLATNOTES_SECRET_KEY: "aLongRandomSeriesOfCharacters"
volumes:
- "./content/roboticam:/data"
# Optional. Allows you to save the search index in a different location:
# - "./index:/data/.flatnotes"
ports:
- "8003:8080"
restart: unless-stopped
edit-fabricam:
container_name: edit-fabricam
image: dullage/flatnotes:latest
environment:
PUID: 1000
PGID: 1000
FLATNOTES_AUTH_TYPE: "password"
FLATNOTES_USERNAME: "fabricam"
FLATNOTES_PASSWORD: "fabricam"
FLATNOTES_SECRET_KEY: "aLongRandomSeriesOfCharacters"
volumes:
- "./content/fabricam:/data"
# Optional. Allows you to save the search index in a different location:
# - "./index:/data/.flatnotes"
ports:
- "8004:8080"
restart: unless-stopped

View file

@ -3,8 +3,8 @@
<title>{{ config.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Icam assoss">
<link rel="stylesheet" href="https://codicam.penwing.org/style.css">
<link rel="icon" href="https://codicam.penwing.org/icon.png" type="image/png">
<link rel="stylesheet" href="{{ get_url(path="style.css") | safe }}">
<link rel="icon" href="{{ get_url(path="icon.png") | safe }}" type="image/png">
</head>
<body>
<div class="sidenav">