tapis-project / authenticator

BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

feat: sync /service/ from host to container #77

Closed wesleyboar closed 3 months ago

wesleyboar commented 3 months ago

Overview

Support changes to service files on host syncing to running container.

This allows, at least, edits to templates and images to propagate to server.

Changes

Testing

  1. Have functional project.
  2. Run web UI e.g. docker-compose up -d authenticator.
  3. Load http://localhost:5000/v3/oauth2/tenant.
  4. On host, add a button <button name="tenant" value="dev">Dev Tenant</button>.
  5. Refresh http://localhost:5000/v3/oauth2/tenant.
  6. Verify new button is shown.

Notes

If this should already be working without change, please close this PR and (if convenient) explain why it should work so I can debug why it failed for me.

wesleyboar commented 3 months ago

This is an unnecessary change to a production-quality docker-compose file. To properly support this, create a developer only compose file that inherits the production-quality docker-compose file.