This will document how to run PASS in EC2 by reusing the existing pass-docker setup.
The existing pass-docker setup is intended for local deployment. It uses a hard-coded hostname of localhost
. It includes a customized Identity Provider for authentication as well as DSpace for testing deposits. All of the other images are production images just configured for localhost
. See the pass-docker project for more information.
First the server must have a hostname and certificate. Then the pass-core image which is a Spring Boot application needs to be modified to use this hostname instead of localhost
.
See [https://docs.spring.io/spring-boot/reference/features/ssl.html] for instructions.
Variables that that mention localhost
in the .env
need to be changed.
Follow the pass-docker project instructions to run.