Configuration parameters may be specified in this file, or as environment variables. Settings here will be overridden by environment variables in docker-compose.yml. This an example configuration file with just the essential settings.
# Example configuration for PicInch Gallery server. # - Edit and rename to configuration.yml # - Take care to keep indentation unchanged when editing. Do not use tabs. db-password: <server password> # The following is needed for certificate registration with Let's Encrypt domains: - our-domain.com - www.our-domain.com # Address to be notified of problems with certificates certificate-email: firstname.lastname@example.org # A random 32 character key used to encrypt users session data # For example, start with this one and change a lot of the individual characters. session-secret: Hk4TEiDgq8JaCNR?WaPeWBf4QQYNUjMR # Administrator, to be added to the database admin-name: email@example.com admin-password: <your-password>
Set the following items as needed. Default values are as shown.
A database connection is requested with DSN
db-user:db-password@db-source?parseTime=true . A MariaDB or MySQL database is required.
domains List of domains for which Let’s Encrypt certificates will be requested on first access.
" - "as shown in the example above.
This is intended for testing and is not recommended for production.
certificate-email Address given to Let’s Encrypt, for notification of problems with certificates.
session-secret A random 32 character key used to encrypt users session data.
Specifies the username and password for an PicInch administrator if the username does not exist in the database. These items may be removed after setup if desired.
admin-name E.g. firstname.lastname@example.org.
Photos uploaded are resized to fit these dimensions.
1600 stored image width
1200 stored image height
278 thumbnail width
208 thumbnail height
12 highlights shown on home page, and on user’s page
32 total slides in H format topic ??
Contributions on the home page are limited per-user.
2 highlights shown on home page
10 not implemented
2 club slideshows on home page, per user
1 public slideshows on home page, per user
misc path in URL for miscelleneous files, as in
16 highlights available for parent website
1h refresh interval for topic thumbnails. Units m(inutes) or h(ours).
1 Anonymisation of user IDs: 0 = daily, 1 = immediate.
:8000 site HTTP address
:4000 site HTTPS address