#222 Create production-ready version of container to use for deployment
Opened 2 years ago by jflory7. Modified 2 years ago

Summary

Create a version of FHP Docker containers to deploy application into staging and production environments

Background

On the staging / production servers today, these machines were configured manually to deploy the application. Since there is no documentation of how this was done, it makes more sense to start fresh.

Starting fresh gives us a chance to look into different ways of packaging and deploying the app. Docker containers are one way to do this. We already use Docker containers for the local development environment. It is possible to change our Docker containers to use them both locally and also deploy the project.

Completing this ticket is part of the work required for #111.

Details

I suggest these steps to approach this ticket:

  1. Try building the existing Docker container with the Dockerfile in the repo
  2. Evaluate what parts of application need to be configured or in-place when Docker container is created (e.g. the FAS testing account credentials for FAS search)
  3. Create new Dockerfile for a production deployment
  4. Test new Docker container image with docker-compose
  5. Submit PR with changes

Outcome

  • Creates a deliverable that enables us to package and deploy FHP efficiently and quickly
  • Sets us up better to integrate with Fedora Infra's future Community OpenShift
  • Helps solve #111

Metadata Update from @jflory7:
- Issue marked as blocking: #111

2 years ago

Metadata Update from @jflory7:
- Custom field Requirement # adjusted to 20

2 years ago

Login to comment on this ticket.

Metadata