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

Create local dev docker-compose.yml that uses filesystem instead of minio for testing different infrastructures #5811

Open
2 tasks
cjcolvar opened this issue Apr 30, 2024 · 0 comments

Comments

@cjcolvar
Copy link
Member

cjcolvar commented Apr 30, 2024

Avalon can be configured to work in many different infrastructure environments. The most common are AWS, docker-compose, and capistrano/bare metal. Each of these uses a different filesystem setup. Typically cloud-hosted S3 for AWS, minio for docker, and local filesystem for capistrano. The development environment uses docker-compose with minio. It can be hard to write tests to effectively test all scenarios in all environments so in order to ensure that we don't accidentally break one of these environments Avalon should have a docker-compose configuration that uses local filesystem in addition to the configuration that uses minio. The cloud-hosted S3 scenario should be mostly covered by minio.

We have servers running all of these environments (core servers and non-MCO servers use minio, MCO uses local filesystem, and demo.avalonmediasystem.org uses cloud-hosted S3) but it would be good to be able to test locally without having to wait until code reaches certain environments.

Done Looks Like

  • docker-compose file includes the ability to pass a flag to use a local filesystem
  • Add instructions on bringing the compose stack up with either options and for switching between them
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

1 participant