This commit is contained in:
2026-03-20 14:41:43 +01:00
parent 92b1a8a894
commit dcadf32984
2 changed files with 9 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ import (
func main() {
err := godotenv.Load()
if err != nil {
fmt.Printf("Error loading .env file")
fmt.Printf("Error loading .env file\n")
}
dbCon, err := db.Connect()

View File

@@ -9,6 +9,14 @@ services:
environment:
JWT_SECRET: supersecretkey
PORT: 8000
ADMIN_PASSWORD: ""
DB_TYPE: sqlite
DATABASE_URL: ./data/database.db
DOMAIN:
USE_HTTPS: false
volumes:
- ./uploads:/app/uploads