Free tool

.env and docker compose generator

Generate starter config files for common stacks.

Runs in your browserNothing is uploadedNo account needed
Files
6
Services
4
Variables
20
docker-compose.yml
Run it
docker compose up -d --build
docker compose exec app composer install
docker compose exec app php artisan migrate
# If Laravel cannot write to storage:
docker compose exec app chown -R www-data:www-data storage bootstrap/cache

Passwords and keys are random and made in your browser. Keep .env out of Git and commit .env.example instead.

How to use it

  1. 1

    Pick a stack and the services you need, such as a database or cache.

  2. 2

    Review the generated .env and docker compose files.

  3. 3

    Copy or download them and change the placeholder values.

About this tool

Most projects start with the same config files: an .env for settings and secrets, and a docker compose file to run the services. Writing them from scratch is slow and easy to get wrong.

Choose your stack and get a clean starting point with sensible defaults. Generate your own passwords and keys before you use them. Nothing is sent anywhere.