Skip to content

Conversation

@tomvothecoder
Copy link
Collaborator

@tomvothecoder tomvothecoder commented Dec 19, 2025

Description

Steps to Complete

Backend

  1. Dockerfile
    • Remove appuser setup
      • Causes issues with root ownership of app data on Spin
      • Told it was probably okay to remove but need to follow up with John Riner for confirmation
  2. config.py
    • Accept OS environment variables (set on Rancher), in addition to env file (for local dev)
  3. Rancher environment variables
    • SSL/cert setup
    • Frontend origin and redirect setup
    • Authentication setup -- create another OAuth app on GitHub

Frontend

  1. Dockerfile
    • Remove node_modules mounting for hot reload
      • Error where incorrect node_modules is referenced on Spin (requires volume mount, which is unnecessary)
  2. nginx-backend-not-found.conf
    • Encapsulate location blocks inside server{...}
  3. package.json
    • Fix TypeScript issues
      • vite build runs tsc -b which breaks due to TypeScript issues
  4. vite.config.ts
    • Update certificate setup which reads from a local path -- ingress handles this

Checklist

  • Code follows project style guidelines
  • Self-reviewed code
  • No new warnings
  • Tests added or updated (if needed)
  • All tests pass (locally and CI/CD)
  • Documentation/comments updated (if needed)
  • Breaking change noted (if applicable)

Deployment Notes (if any)

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

Successfully merging this pull request may close these issues.

[DevOps] Make Docker dev setup compatible with NERSC Spin

1 participant