Hi structr-support, and Happy new Year everybody:)
I am running structr on a docker instance. I have been trying to figure out how i set up a persistent keystore-path path for my certificate.
Is there a way to set the structr.config-File directly and how? Unfotunately, the information from the UI structr/config doesn't persist after a restart. I played around with the docker-compose.yml, but this doesn't help. Is there a mistake that I miss or what is the procedure in order to set a web-certificate for structr running under docker?
Here my .yml-File (I removed the entries for neo4j because this is running elsewhere):
******
version: '3.3'
services:
structr:
image: structr/structr:4.0.0
ports:
- "8082:8082"
environment:
- AGREE_TO_STRUCTR_PRIVACY_POLICY=yes
# Add volumes for data retention
volumes:
# folders
- ./volumes/structr-files:/var/lib/structr/files
- ./volumes/structr-repository:/var/lib/structr/repository
- ./volumes/structr-logs:/var/lib/structr/logs
- ./volumes/structr-lib:/usr/lib/structr
# config files for initial configuration of Structr
- ./structr/structr.conf:/var/lib/structr/structr.conf
- ./structr/license.key:/var/lib/structr/license.key
- ./structr/memory.config:/var/lib/structr/bin/memory.config
- ./structr/keystore.pks12:/usr/lib/structr/keystore.pks12
# Put service into network so Structr and Neo4j can communicate
networks:
database:
volumes:
structr-files:
structr-repository:
structr-logs:
structr-lib:
neo4j-database:
neo4j-logs:
networks:
database:
************