Servas
Servas copied to clipboard
Server error 500
I am curious about this software and wanted to test it locally on my computer.
To do this I used the following .env and docker-compose.yaml files:
APP_NAME=Servas
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=http://localhost:9090
SERVAS_ENABLE_REGISTRATION=true
# SQLite
DB_CONNECTION=sqlite
DB_DATABASE=/var/www/html/database/sqlite/servas.db
DB_FOREIGN_KEYS=true
services:
servas:
image: beromir/servas
container_name: servas
restart: unless-stopped
ports:
- 9090:80
volumes:
- ./.env:/var/www/html/.env
- servas-db-sqlite:/var/www/html/database/sqlite
# labels:
# - "traefik.http.routers.servas.rule=Host(`Servas.docker.localhost`)"
volumes:
servas-db-sqlite:
I am getting an internal server error (500) when browsing to http://localhost:9090:
Logs aren't showing much, either:
Have you generated the application key?
docker exec -it servas php artisan key:generate --force
https://github.com/beromir/Servas?tab=readme-ov-file#docker