Compare commits

...

3 commits

Author SHA1 Message Date
penwing-bathhouse 93a391ca1d cleaned up auto-update 2024-09-25 09:06:19 +02:00
penwing-bathhouse 9e690b9069 working auto-update 2024-09-25 09:05:48 +02:00
penwing-bathhouse 6e6d5a540d cleaned up for testing 2024-09-25 01:07:20 +02:00
8 changed files with 20 additions and 42 deletions

View file

@ -2,8 +2,13 @@ FROM ghcr.io/getzola/zola:v0.17.1 as zola
COPY . /project COPY . /project
WORKDIR /project WORKDIR /project
RUN ["zola", "build"]
FROM ghcr.io/static-web-server/static-web-server:2 ENV PATH="/usr/local/bin:${PATH}"
WORKDIR /
COPY --from=zola /project/public /public 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

Binary file not shown.

View file

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

View file

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

View file

@ -5,6 +5,11 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
ports: ports:
- "8001:80" - "8001:80"
volumes:
- ./content:/project/content
- ./templates:/project/templates
- ./static:/project/static
- ./sass:/project/sass
restart: unless-stopped restart: unless-stopped
edit-codicam: edit-codicam:
@ -24,39 +29,3 @@ services:
ports: ports:
- "8002:8080" - "8002:8080"
restart: unless-stopped 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> <title>{{ config.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Icam assoss"> <meta name="description" content="Icam assoss">
<link rel="stylesheet" href="{{ get_url(path="style.css") | safe }}"> <link rel="stylesheet" href="https://codicam.penwing.org/style.css">
<link rel="icon" href="{{ get_url(path="icon.png") | safe }}" type="image/png"> <link rel="icon" href="https://codicam.penwing.org/icon.png" type="image/png">
</head> </head>
<body> <body>
<div class="sidenav"> <div class="sidenav">