-
Notifications
You must be signed in to change notification settings - Fork 10
Lenny lcp server v1 #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ronibhakta1
wants to merge
17
commits into
ArchiveLabs:main
Choose a base branch
from
ronibhakta1:lenny-lcp-server-v1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
enhancement
New feature or request
help wanted
Extra attention is needed
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