# Docs ## Docs - [Environment variables and secrets](https://docs.ergomake.dev/configurations/environment-variables.md): How to manage environment variables for build and runtime. - [Managing resources](https://docs.ergomake.dev/configurations/managing-resources.md) - [Multiple repositories](https://docs.ergomake.dev/configurations/multiple-repos.md): Learn how to setup Ergomake if you need to spin-up previews with multiple repos - [Networking](https://docs.ergomake.dev/configurations/networking.md): Learn about how Ergomake routes requests to and within environments. - [Seeding](https://docs.ergomake.dev/configurations/seeding.md): Learn how to seed your databases. - [Databases and other third-party software](https://docs.ergomake.dev/configurations/third-party-software.md): Learn how to set up databases and other pieces of third-party software upon which your preview environment depends. - [Troubleshooting](https://docs.ergomake.dev/configurations/troubleshooting.md): How to resolve common problems with your environments. - [Writing Dockerfiles](https://docs.ergomake.dev/dockerfiles.md) - [Authentication and permissions](https://docs.ergomake.dev/in-depth/authentication-and-permissions.md): Learn how Ergomake determines who is who and who accesses what. - [Preview lifecycle](https://docs.ergomake.dev/in-depth/lifecycle.md): Managing preview environments and their lifetimes. - [Logs](https://docs.ergomake.dev/in-depth/logs.md): Learn how to check your environment's logs - [Persisting data](https://docs.ergomake.dev/in-depth/persisting-data.md): How to persist data as you update branches. - [Introduction](https://docs.ergomake.dev/introduction.md): Set up your first preview - [Your first preview using compose](https://docs.ergomake.dev/your-first-preview.md): Learn how to integrate with GitHub pull requests to create your first automatic preview. ## Optional - [Github](https://github.com/ergomake/ergomake) - [Blog](https://ergomake.dev/blog) - [Community](https://discord.gg/daGzchUGDt)