- docker
- docker-compose
- Copy your license.key file to ./structr/license.key
- Run
docker-compose build
- Run
docker-compose --compatibility up -d
to start Neo4j and Structr - Open
http://127.0.0.1:8082/structr/
in your browser to access Structr
docker-compose down
docker ps
note the container id
docker exec -it <Unique identifier for container> /bin/sh
- copy your license.key file to ./structr/license.key
- run
docker swarm init
- Run
docker stack deploy --compose-file docker-compose.yml structr
to start Neo4j and Structr - Open
http://127.0.0.1:8082/structr/
in your browser to access Structr
docker stack rm structr
docker ps
note the container id
docker exec -it <Unique identifier for container> /bin/sh
- Run
docker stack ps structr
to get a list of all tasks in the structr stack - Run
docker stack services structr
to get a list of all services in the structr stack
The CPU and RAM configuration of the containers can be changed in the docker-compose.yml file. If the config is changed here, then ./structr/memory.config
has to be adjusted as well to prevent Structr from using too much or too little ressources and triggering an OutOfMemory exception.
- clone repository to ./volumes/repository
- goto
http://localhost:8082/structr/#dashboard
-> Deployment - copy
/var/lib/structr/repository/webapp
into the 'Import application from local directory' input field and click on the import button - when changes have been made copy the same path into the 'Export application to local directory' input field and click the button
- commit your changes on the host system to github
- pull the new repository version
- push your changes
- repeat from 3.