32 lines
811 B
YAML
32 lines
811 B
YAML
services:
|
|
zola:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "8001:80"
|
|
volumes:
|
|
- ./content:/project/content
|
|
- ./templates:/project/templates
|
|
- ./static:/project/static
|
|
- ./sass:/project/sass
|
|
restart: unless-stopped
|
|
|
|
edit-codicam:
|
|
container_name: edit-codicam
|
|
image: dullage/flatnotes:latest
|
|
environment:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
FLATNOTES_AUTH_TYPE: "password"
|
|
FLATNOTES_USERNAME: "codicam"
|
|
FLATNOTES_PASSWORD: "codicam"
|
|
FLATNOTES_SECRET_KEY: "aLongRandomSeriesOfCharacters"
|
|
volumes:
|
|
- "./content/codicam:/data"
|
|
# Optional. Allows you to save the search index in a different location:
|
|
# - "./index:/data/.flatnotes"
|
|
ports:
|
|
- "8002:8080"
|
|
restart: unless-stopped
|