mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-22 08:45:44 +02:00
1.6 KiB
1.6 KiB
Installation Guide
The recommended way to install and run Media Manager is using Docker and Docker Compose.
-
Prerequisites:
- Ensure Docker and Docker Compose are installed on your system.
- If you plan to use OAuth 2.0 / OpenID Connect for authentication, you will need an account and client credentials from an OpenID provider (e.g., Authentik, Pocket ID).
-
Setup:
- Copy the docker-compose.yml from the MediaManager repo.
- Configure the necessary environment variables in your
docker-compose.ymlfile. - (Optional) Create a
.envfile in the root directory for backend environment variables and/or aweb/.envfor frontend environment variables if you prefer to manage them separately fromdocker-compose.yml.
-
Running the Application:
- Execute the command
docker-compose up -dfrom the root directory. This will build the Docker images (if not already built) and start all the services (backend, frontend, and potentially a database if configured in your compose file). - The backend will typically be available at
http://localhost:8000and the frontend athttp://localhost:3000(or as configured).
- Execute the command
Configuration Overview
Media Manager is configured primarily through environment variables. These can be set in your docker-compose.yml file,
a .env file.
Detailed configuration options are split into backend and frontend sections:
Build arguments are also used during the Docker image build process, primarily for versioning.