29 lines
663 B
YAML
29 lines
663 B
YAML
|
version: '3.8'
|
||
|
|
||
|
services:
|
||
|
zola:
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: Dockerfile
|
||
|
ports:
|
||
|
- "8001:80"
|
||
|
restart: unless-stopped
|
||
|
|
||
|
flatnotes:
|
||
|
container_name: flatnotes
|
||
|
image: dullage/flatnotes:latest
|
||
|
environment:
|
||
|
PUID: 1000
|
||
|
PGID: 1000
|
||
|
FLATNOTES_AUTH_TYPE: "password"
|
||
|
FLATNOTES_USERNAME: "user"
|
||
|
FLATNOTES_PASSWORD: "changeMe!"
|
||
|
FLATNOTES_SECRET_KEY: "aLongRandomSeriesOfCharacters"
|
||
|
volumes:
|
||
|
- "./content:/data"
|
||
|
# Optional. Allows you to save the search index in a different location:
|
||
|
# - "./index:/data/.flatnotes"
|
||
|
ports:
|
||
|
- "8002:8080"
|
||
|
restart: unless-stopped
|