1014 B
1014 B
Configuration
To run elog in a container you need to mount a valid configuration file and a data directory.
elogd.cfg
volumes:
- ./elogd.cfg:/usr/local/elog/elogd.cfg:ro
sample config
Further configuration parameters can be found [here] (https://elog.psi.ch/elog/config.html)
[global]
port = 8080
[demo]
Theme = default
Comment = General Linux Tips & Tricks
Attributes = Author, Type, Category, Subject
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Data directory
Recommended setup is using a NFS share provided by AIT that has snapshot backups already included. Mount said share to the server and then as docker volume.
volumes:
- ./elogd.cfg:/usr/local/elog/elogd.cfg:ro
- ./logbook-nfs:/var/lib/elog/notebook