emile/docker-compose.yml

32 lines
811 B
YAML
Raw Permalink Normal View History

2024-09-25 00:26:20 +02:00
services:
zola:
build:
context: .
dockerfile: Dockerfile
ports:
- "8001:80"
2024-09-25 09:05:48 +02:00
volumes:
- ./content:/project/content
- ./templates:/project/templates
- ./static:/project/static
- ./sass:/project/sass
2024-09-25 00:26:20 +02:00
restart: unless-stopped
2024-09-25 00:44:03 +02:00
edit-codicam:
container_name: edit-codicam
2024-09-25 00:26:20 +02:00
image: dullage/flatnotes:latest
environment:
PUID: 1000
PGID: 1000
FLATNOTES_AUTH_TYPE: "password"
2024-09-25 00:44:03 +02:00
FLATNOTES_USERNAME: "codicam"
FLATNOTES_PASSWORD: "codicam"
2024-09-25 00:26:20 +02:00
FLATNOTES_SECRET_KEY: "aLongRandomSeriesOfCharacters"
volumes:
2024-09-25 00:44:03 +02:00
- "./content/codicam:/data"
2024-09-25 00:26:20 +02:00
# Optional. Allows you to save the search index in a different location:
# - "./index:/data/.flatnotes"
ports:
- "8002:8080"
restart: unless-stopped