Commit Graph

18 Commits

Author SHA1 Message Date
7fd5b0c3a0 ++ fix: remove .app_key and .db_seeded files, update related code and documentation 2026-04-07 14:57:37 +00:00
b07e802f78 ++ fix 2026-04-07 14:33:22 +00:00
f79a5701d2 ++ fix: update initial admin credentials in .env.example 2026-04-07 14:18:11 +00:00
1010246104 ++ fix: update .env.example and README.md, add CreateInitialAdmin command, update docker-compose.yml and entrypoint.sh, remove old CSS file and update manifest.json 2026-04-07 14:10:52 +00:00
80318d33b4 Refactor: remove setup wizard and related middleware, update settings management 2026-04-07 13:40:08 +00:00
ef37385b3d Eliminato Wizard, tutto verrà gestito da impostazioni 2026-04-07 11:16:46 +00:00
1606778518 ++ fix 2026-04-05 20:14:30 +00:00
22ac0aa781 +++ fix 2026-04-05 19:52:41 +00:00
root
a5f7caf2ed Fix: chown storage and bootstrap/cache to www-data for php-fpm 2026-04-05 20:30:23 +02:00
root
bd145607b0 Auto-persist APP_KEY in storage volume across redeploys
- Key saved to storage/app/.app_key (persistent volume)
- On redeploy: restored automatically from volume
- On first deploy: generated and saved
- No manual Dokploy env var needed
2026-04-05 20:28:31 +02:00
root
086cce4617 Fix: create .env before composer install (artisan needs it for post-scripts) 2026-04-05 20:27:16 +02:00
root
1632b568af Restructure Docker for Dokploy deployment
- Copy app code into PHP image, sync to shared volume at startup
- Use named volume (app_code) shared between app and nginx
- Build nginx image with embedded config (no bind mounts)
- Add .dockerignore to optimize image build
- Build context moved to project root for both services
2026-04-05 20:09:12 +02:00
root
3abde23629 Fix: create bootstrap/cache and storage dirs before composer/artisan 2026-04-05 20:04:17 +02:00
root
4f197a5ecb Fix: persist APP_KEY across redeploys via Docker env vars
- Entrypoint now overrides .env with Docker environment variables
- Supports all key vars: APP_KEY, APP_URL, DB_*, REDIS_*
- Warns to save APP_KEY in Dokploy if auto-generated
- Fixes DecryptException on proclamatori encrypted fields
2026-04-05 20:02:07 +02:00
root
16616adcfd Remove user/permission management for Dokploy deployment
- Dockerfile: remove appuser creation, run everything as root
- www.conf: switch php-fpm workers to www-data
- entrypoint.sh: remove all chown and git safe.directory workarounds
- docker-compose.yml: remove USER_ID/GROUP_ID build args
- .env.example: remove USER_ID/GROUP_ID variables
2026-04-05 19:54:12 +02:00
root
d38d8b7896 Add Docker entrypoint and cleanup gitignore
- Add entrypoint.sh for automated app initialization (composer, npm, migrations, cache)
- Update Dockerfile: run entrypoint as root, php-fpm workers still run as appuser
- Update .gitignore: exclude storage/logs, storage/framework, bootstrap/cache, public/build
- Remove generated/cached files from git tracking
2026-04-05 19:50:55 +02:00
Francesco Picone
50f28292ef Primo commit 2026-04-05 19:30:47 +02:00
Francesco Picone
701f479b7f Primo commit 2026-04-05 19:26:04 +02:00