Skip to content

Commit 2d5d90a

Browse files
committed
wip
(ignore) Apply style fixes
1 parent df66187 commit 2d5d90a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+8538
-2813
lines changed

.docker/supervisor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.3-cli-alpine
1+
FROM php:8.4-cli-alpine
22

33
WORKDIR /var/www/html
44

.env.dusk.local

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ APP_NAME=SimplePointer
22
APP_ENV=testing
33
APP_KEY=base64:z+8HOe9OXmUftIVaBkdTWByv8DDBXKX2pw6l5rwzufA=
44

5-
APP_DEBUG=false
5+
APP_DEBUG=true
66

7-
APP_URL=http://localhost
7+
APP_URL=http://simplepointer.test
88
DUSK_DRIVER=chrome
99
DUSK_HEADLESS_DISABLED=false
1010

@@ -19,12 +19,14 @@ SESSION_DRIVER=file
1919
SESSION_LIFETIME=120
2020
SESSION_SECURE_COOKIE=false
2121

22+
BROADCAST_DRIVER=reverb
2223
REVERB_APP_ID=383604
2324
REVERB_APP_KEY=nxwjzn6y1tmarsc7kmpu
2425
REVERB_APP_SECRET=buik4yvca1kyo4gmkapq
25-
REVERB_HOST=localhost
26+
REVERB_SERVER_HOST=0.0.0.0
27+
REVERB_HOST=simplepointer.test
2628
REVERB_PORT=8080
27-
REVERB_SCHEME=http
29+
REVERB_SCHEME=https
2830

2931
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
3032
VITE_REVERB_HOST="${REVERB_HOST}"

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ SESSION_DRIVER=file
1818
SESSION_LIFETIME=120
1919
SESSION_SECURE_COOKIE=false
2020

21+
BROADCAST_DRIVER=reverb
2122
REVERB_APP_ID=
2223
REVERB_APP_KEY=
2324
REVERB_APP_SECRET=

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ on: [push]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-latest
88

99
env:
1010
APP_URL: "http://127.0.0.1:8000"
1111

1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
php-versions: [8.3]
15+
php-versions: [8.4]
1616

1717
steps:
1818
- name: Check out repository code
@@ -87,7 +87,7 @@ jobs:
8787
- name: Run Laravel Server
8888
run: php artisan serve --no-reload &
8989

90-
- name: Run Websockets Server
90+
- name: Run Reverb Server
9191
run: php artisan reverb:start > /dev/null 2>&1 &
9292

9393
- name: Start Chrome Driver

.infrastructure/prod.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dnf search php8.3

.infrastructure/supervisor.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[supervisord]
2+
user=root
3+
nodaemon=true
4+
logfile=/dev/stdout
5+
logfile_maxbytes=0
6+
pidfile=/var/run/supervisord.pid
7+
8+
[program:octane]
9+
command=php /app/artisan octane:frankenphp --host=127.0.0.1 --port=8000 --workers=8 --max-requests=10000
10+
autostart=true
11+
autorestart=true
12+
priority=2
13+
stdout_events_enabled=true
14+
stderr_events_enabled=true
15+
stdout_logfile=/dev/stdout
16+
stdout_logfile_maxbytes=0
17+
stderr_logfile=/dev/stderr
18+
stderr_logfile_maxbytes=0
19+
20+
[program:queue-runner]
21+
command=php /app/artisan queue:work --tries=3 --timeout=90 --sleep=3 --daemon
22+
autostart=true
23+
autorestart=true
24+
priority=3
25+
stdout_events_enabled=true
26+
stderr_events_enabled=true
27+
stdout_logfile=/dev/stdout
28+
stdout_logfile_maxbytes=0
29+
stderr_logfile=/dev/stderr
30+
stderr_logfile_maxbytes=0
31+
32+
[program:websocket]
33+
command=php /app/artisan websockets:serve
34+
autostart=true
35+
autorestart=true
36+
priority=3
37+
stdout_events_enabled=true
38+
stderr_events_enabled=true
39+
stdout_logfile=/dev/stdout
40+
stdout_logfile_maxbytes=0
41+
stderr_logfile=/dev/stderr
42+
stderr_logfile_maxbytes=0

0 commit comments

Comments
 (0)