diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index cb0eb4e..dacdbd5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,5 +11,5 @@ ] } }, - "postCreateCommand": "composer install && ./bin/post-clone.sh && cp .env.example .env && php craft install --username=admin --email=michael@bluth.com --password=secret --siteName=pest --siteUrl=http://localhost:8080 --language=en-US && ./bin/post-install.sh" + "postCreateCommand": "composer install && ./bin/post-clone.sh && cp .env.example .env && echo 'CRAFT_DB_SERVER=mysql' >> .env && echo 'CRAFT_DB_DATABASE=pest' >> .env && echo 'CRAFT_DB_PASSWORD=root' >> .env && php craft install --username=admin --email=michael@bluth.com --password=secret --siteName=pest --siteUrl=http://localhost:8080 --language=en-US && ./bin/post-install.sh" }