Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Conversation

@raymon-zhang
Copy link

Fix:

  • create a data/rctf-uploads folder in the install script
  • in the docker-compose file, create a docker bind mount from the data/rctf-uploads folder to /app/uploads in the rctf
  • in the local upload provider, save and load uploadMap from the uploadMap.json file

@chen-robert chen-robert requested a review from ginkoid July 25, 2023 12:26
Copy link
Contributor

@ginkoid ginkoid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if two rctf instances use the same uploads directory, we want them to be able to share uploads without a restart. can you do something similar to this? https://github.com/redpwn/rctf/blob/next/packages/server/src/providers/uploads/local/index.ts

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.