The server component to the Lockbox app.
Go to file
Norman aa1ce64668 remove .DS_Store 2020-12-16 23:48:30 -08:00
cmd Fixed bug in decrypt.php 2020-12-05 17:15:03 -08:00
config created Dockerfile 2020-12-16 16:14:54 -08:00
lockbox created Dockerfile 2020-12-16 16:14:54 -08:00
.gitignore Update gitignore 2020-12-16 23:46:36 -08:00
Dockerfile Fixed Dockerfile 2020-12-16 17:04:47 -08:00
LICENSE Add 'LICENSE' 2020-04-14 13:04:37 -07:00 created Dockerfile 2020-12-16 16:14:54 -08:00

This is the PHP/webserver component for Lockbox. For instructions visit the Lockbox app`s main repository.

Docker Install Instructions

Right now, there is a very basic process to building and deploying a Docker image of Lockbox in a container that contains php and an instance of apache webserver. The image has been tested on linux base OS and will need to be run of a host that already has the OS installed. Future development will aim to have a more robust install.

Note: This version of the Docker deployment is using an env.php file instead of environment variables due to some of the nuances with how php handles environment variables.

The .docker directory contains a Dockerfile to build an image for your deployment. Do the following before building the image:

  • Modify config/env.example.php based on any customizations
  • Generate a keypair (you can use the script in the cmd folder (genkeys.php.txt, which needs to be renamed to genkeys.php prior to use, or use a key pair you have already generated) and place the public key in the config folder as key.public