# FastAPI Project - Development

## Docker Compose files and env vars

There is a main `docker-compose.yml` file with all the configurations that apply to the whole stack, it is used automatically by `docker compose`.

These Docker Compose files use the `.env` file containing configurations to be injected as environment variables in the containers.

They also use some additional configurations taken from environment variables set in the scripts before calling the `docker compose` command.

## The .env file

The `.env` file is the one that contains all your configurations, generated keys and passwords, etc.

## URLs

The production or staging URLs would use these same paths, but with your own domain.

## Development DB

CREATE DATABASE suno_chopin;
CREATE USER suno WITH LOGIN PASSWORD 'suno';
GRANT ALL PRIVILEGES ON DATABASE suno_chopin TO suno;
ALTER USER suno CREATEDB;

GRANT USAGE ON SCHEMA public TO suno;
GRANT CREATE ON SCHEMA public TO suno;