completed search and edit functions; service_record route no longer needs to capture document_id on edit when params captured using request->parameters->as_hashref as id is included
requires development_local.yml & test_local.yml in environments dir to run tests and dev server
$ ln -s production.yml deployment.yml
# /etc/apache2/websites/volvox.online.ssl
# documents library (check running port map in docker-compose.yml):
ProxyPass /moongate http://localhost:5002/moongate
ProxyPassReverse /moongate http://localhost:5002/moongate
ProxyPreserveHost On
RequestHeader set X_FORWARDED_PROTO "https"
# reconfig timezone for GB:
$ dpkg-reconfigure tzdata [select 8 then 27]
OR [https://stackoverflow.com/questions/44331836/apt-get-install-tzdata-noninteractive]:
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y tzdata
RUN unlink /etc/localtime
RUN ln -s /usr/share/zoneinfo/Europe/London /etc/localtime
## to run:
$ docker compose up -d
## to restart:
$ docker compose [stop|start] moongate
https://volvox.online/moongate