File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 11// https://aka.ms/devcontainer.json
22{
3- "name" : " Existing Docker Compose (Extend) " ,
3+ "name" : " Speedtest Tracker Dev Environment " ,
44 "dockerComposeFile" : [
5- " ../docker- compose.yml "
5+ " ../compose.yaml "
66 ],
77 "service" : " laravel.test" ,
88 "workspaceFolder" : " /var/www/html" ,
2020 }
2121 },
2222 "remoteUser" : " sail" ,
23- "postCreateCommand" : " chown -R 1000:1000 /var/www/html 2>/dev/null || true "
23+ "postCreateCommand" : " composer install && npm install && npm run build && touch database/database.sqlite && php artisan migrate:fresh --force "
2424 // "forwardPorts": [],
2525 // "runServices": [],
2626 // "shutdownAction": "none",
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ LOG_DEPRECATIONS_CHANNEL=null
1818LOG_LEVEL = debug
1919
2020DB_CONNECTION = sqlite
21+ # DB_HOST=
22+ # DB_PORT=
23+ # DB_DATABASE=
24+ # DB_USERNAME=
25+ # DB_PASSWORD=
2126
2227SESSION_DRIVER = cookie
2328SESSION_LIFETIME = 10080
4247MAIL_FROM_NAME = " Speedtest Tracker"
4348
4449VITE_APP_NAME = " ${ APP_NAME } "
50+
51+ # For the Dev Container
52+ # WWWUSER=1000
53+ # WWWGROUP=1000
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ services:
2525 - mailpit
2626 - apprise
2727 pgsql :
28- image : ' postgres:17 -alpine'
28+ image : ' postgres:18 -alpine'
2929 ports :
3030 - ' ${FORWARD_DB_PORT:-5432}:5432'
3131 environment :
You can’t perform that action at this time.
0 commit comments