Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://aka.ms/devcontainer.json
{
"name": "Existing Docker Compose (Extend)",
"name": "Speedtest Tracker Dev Environment",
"dockerComposeFile": [
"../docker-compose.yml"
"../compose.yaml"
],
"service": "laravel.test",
"workspaceFolder": "/var/www/html",
Expand All @@ -20,7 +20,7 @@
}
},
"remoteUser": "sail",
"postCreateCommand": "chown -R 1000:1000 /var/www/html 2>/dev/null || true"
"postCreateCommand": "composer install && npm install && npm run build && touch database/database.sqlite && php artisan migrate:fresh --force"
// "forwardPorts": [],
// "runServices": [],
// "shutdownAction": "none",
Expand Down
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=sqlite
#DB_HOST=
#DB_PORT=
#DB_DATABASE=
#DB_USERNAME=
#DB_PASSWORD=

SESSION_DRIVER=cookie
SESSION_LIFETIME=10080
Expand All @@ -42,3 +47,7 @@ MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="Speedtest Tracker"

VITE_APP_NAME="${APP_NAME}"

# For the Dev Container
# WWWUSER=1000
# WWWGROUP=1000
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
- mailpit
- apprise
pgsql:
image: 'postgres:17-alpine'
image: 'postgres:18-alpine'
ports:
- '${FORWARD_DB_PORT:-5432}:5432'
environment:
Expand Down