Skip to content
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

Set up docker deployment to a staging server #117

Open
dustin-jw opened this issue Oct 25, 2023 · 0 comments
Open

Set up docker deployment to a staging server #117

dustin-jw opened this issue Oct 25, 2023 · 0 comments
Assignees

Comments

@dustin-jw
Copy link
Contributor

dustin-jw commented Oct 25, 2023

Our deploy.docker.yml workflow handles everything up to publishing the container to a registry, but it stops short of actually deploying the image to a server. It would be helpful for the starter to cover the end-to-end process for this workflow for typical use cases. If we have a Rackspace or Digital Ocean instance to test with, it would be good to get that set up so we can update the workflow and write more comprehensive documentation about how to get set up with this hosting strategy.

This should include:

  • Updating documentation to describe how to authenticate to ghcr.io from the server
  • Adding a docker-compose.production.yml file to simplify restarting after pulling the image
  • Updating docs to describe what files need to be set up on the server (mainly .env with relevant DB info and docker-compose.yml copied from the production version)
  • Updating docs to describe how to pull the image and run it for first time setup
  • Adding steps to the deploy.docker.yml workflow to pull/restart the image and document any secrets that need to be set for it to work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants