summaryrefslogtreecommitdiff
path: root/src/photoalbum.default.conf
blob: 6fad282c014ed62bd9151a139bf3722fa7816f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# The title of the photoalbum
TITLE='A simple Photoalbum'

# Thumbnail height geometry
THUMBHEIGHT=300
# Normal geometry height (when viewing photo). Uncomment, to keep original size.
HEIGHT=1200
# Max previews per page.
MAXPREVIEWS=40
# Parallel ImageMagick jobs for photo, thumbnail, and blur processing.
IMAGE_JOBS=3
# Timeout in seconds for each ImageMagick command.
IMAGEMAGICK_TIMEOUT=60
# Randomly shuffle all previews.
# SHUFFLE=yes
# Generate a splash landing page at index.html.
SPLASH_PAGE=yes
# Set to any non-empty value for repeatable background, animation, timestamp,
# and shuffled preview choices.
# RANDOM_SEED=album-build-1

# Diverse directories, need to be full paths, not relative!
INCOMING_DIR=$(pwd)/incoming
DIST_DIR=$(pwd)/dist
TEMPLATE_DIR=/usr/share/photoalbum/templates/default
#TEMPLATE_DIR=/usr/share/photoalbum/templates/minimal

# Includes a .tar of the incoming dir in the dist, can be yes or no
TARBALL_INCLUDE=yes
TARBALL_SUFFIX=.tar
# Timeout in seconds for tar archive creation.
TAR_TIMEOUT=120
TAR_OPTS=(-c)

# Destinations for `photoalbum --sync`. Each destination is passed to rsync
# with DIST_DIR/ as the source, so the generated contents are copied into the
# target directory. Sync deletes removed files from destinations by default.
SYNC_DELETE=yes
SYNC_DESTINATIONS=(
#    admin@fishfinger.buetow.org:/var/www/htdocs/example.org/
#    admin@blowfish.buetow.org:/var/www/htdocs/example.org/
)

# Some debugging options
#set -e
#set -x