Skip to content

Commit b1191df

Browse files
authored
Update all-in-one Docker setup (#387)
1 parent 22e7982 commit b1191df

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

Dockerfile.all-in-one

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ COPY --from=node-frontend /app/frontend /app/frontend
2222

2323
COPY ./backend /app/backend
2424
RUN mkdir -p /app/backend/bootstrap/cache \
25+
&& mkdir -p /app/backend/storage \
2526
&& chown -R www-data:www-data /app/backend \
2627
&& find /app/backend -type d -exec chmod 755 {} \; \
2728
&& find /app/backend -type f -exec chmod 644 {} \; \

docker/all-in-one/.env

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,47 @@
1-
# See the README.md file for informaiton on how to generate the JWT_SECRET and APP_KEY
1+
# See the README.md file for information on how to generate the JWT_SECRET and APP_KEY
22
APP_KEY=
33
JWT_SECRET=
44

55
# Frontend variables (Always prefixed with VITE_)
66
VITE_FRONTEND_URL=http://localhost:8123
77
VITE_API_URL_CLIENT=http://localhost:8123/api
88
VITE_API_URL_SERVER=http://localhost:80/api
9-
VITE_STRIPE_PUBLISHABLE_KEY=pk_test
9+
VITE_STRIPE_PUBLISHABLE_KEY=pk_test_123456789
1010

1111
# Backend variables
1212
# These values may not be suitable for production environments.
1313
# Please refer to the documentation for more information on how to configure these values
1414
# https://hi.events/docs/getting-started/deploying
1515
LOG_CHANNEL=stderr
1616
QUEUE_CONNECTION=sync
17+
18+
# Application settings
19+
APP_CDN_URL=http://localhost:8123/storage
20+
APP_FRONTEND_URL=http://localhost:8123
21+
APP_DISABLE_REGISTRATION=false
22+
APP_SAAS_MODE_ENABLED=false
23+
APP_SAAS_STRIPE_APPLICATION_FEE_PERCENT=0
24+
APP_SAAS_STRIPE_APPLICATION_FEE_FIXED=0
25+
26+
# Email settings (Using log mailer for local testing)
1727
MAIL_MAILER=log
28+
MAIL_DRIVER=log
29+
MAIL_HOST=mail.local
30+
MAIL_PORT=1025
31+
MAIL_USERNAME=null
32+
MAIL_PASSWORD=null
33+
MAIL_ENCRYPTION=null
34+
MAIL_FROM_ADDRESS=[email protected]
35+
MAIL_FROM_NAME="Hi Events"
1836

37+
# File storage settings
1938
FILESYSTEM_PUBLIC_DISK=public
2039
FILESYSTEM_PRIVATE_DISK=local
2140

22-
APP_CDN_URL=http://localhost:8123/storage
23-
APP_FRONTEND_URL=http://localhost:8123
24-
41+
# Database settings
2542
DATABASE_URL=postgresql://postgres:secret@postgres:5432/hi-events
43+
44+
# Stripe settings (Replace with valid test keys if necessary)
45+
STRIPE_PUBLIC_KEY=pk_test_123456789
46+
STRIPE_SECRET_KEY=sk_test_123456789
47+
STRIPE_WEBHOOK_SECRET=whsec_test_123456789

0 commit comments

Comments
 (0)