Open
Conversation
1cb8bfb to
1f32676
Compare
…ase setup scripts
… into lcp_setup_all.sh
… redundant comments
…script to directly generate configurations and htpasswd
…ove environment variable loading, and enhance configuration generation scripts
…okshelf volume, switch storage mode to filesystem, and enhance testing documentation
…in Docker Compose and update LCP Testing Guide to use environment variable for LCP server authentication
…d values and remove the guide file
…th placeholders for improved security
…oded credentials with actual values for LCP and LSD server authentication
…larify API requirements
776afe3 to
870ac12
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #76
This pull request introduces Readium LCP and LSD server functionality to the project, with significant updates to the Docker configuration, environment setup, and database schema. It adds support for encryption, license management, and status tracking, along with scripts for configuration generation and authentication setup.
Docker and Service Configuration:
compose.yamlto include three new services (lcpserver,lsdserver, andlcpencrypt) for handling Readium LCP and LSD functionality. These services are configured with appropriate volumes, environment variables, and dependencies.Dockerfilefor building the Readium LCP server binaries (lcpencrypt,lcpserver, andlsdserver) and preparing the runtime environment.Environment and Configuration Management:
docker/configure.shto include environment variables for LCP and LSD server configuration, such as host, port, authentication credentials, and database details. [1] [2]generate_lcp_configs.sh) and Apachehtpasswdfiles for server authentication (generate_htpasswd.sh). [1] [2]refresh_configs.sh) to regenerate environment and configuration files for seamless updates.Database Schema:
lcpdatabase and create tables for LCP server (content,license) and LSD server (license_status,event). These tables manage content encryption, licenses, and license status tracking. [1] [2] [3]Supporting Files:
cert-edrlab-test.pem,privkey-edrlab-test.pem) for the LCP server. [1] [2].gitkeepfiles to ensure empty directories (readium/tmp,readium/readium-lcp-server) are tracked by Git for Docker builds.Integration:
run.shto execute the new configuration and authentication scripts during setup.Readium-lcp-serversetup is donepostgres dbinside the lennyreadium-lcp-serverwithlcpserver,lsdserver&lcpcryptreadium-lcp-server