Files
web_work/config/app.php
kirill.khorkov 7f876b5c4a chore: Update Docker configuration and app config
- Modified docker-compose.yml (port/environment changes)
- Updated config/app.php
- Added apache-vhost-windows.conf for Windows setup
2026-01-06 17:07:14 +03:00

45 lines
1.1 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
return [
'name' => 'AETERNA',
'debug' => getenv('APP_DEBUG') ?: true,
// URL приложения
// Для Docker: http://localhost:8080
// Для Windows с Apache: http://aeterna.local или http://localhost
// Можно переопределить через переменную окружения APP_URL в Apache
'url' => getenv('APP_URL') ?: 'http://localhost:8080',
'base_path' => '',
'timezone' => 'Europe/Moscow',
'locale' => 'ru_RU',
'admin_emails' => [
'admin@aeterna.ru',
'administrator@aeterna.ru',
'aeterna@mail.ru'
],
'session' => [
'lifetime' => 120,
'secure' => false,
'http_only' => true
],
'delivery' => [
'default_price' => 2000,
'free_from' => 50000,
],
'promo_codes' => [
'SALE10' => ['type' => 'percent', 'value' => 10],
'FREE' => ['type' => 'free_delivery', 'value' => 0],
],
'paths' => [
'storage' => 'storage',
'uploads' => 'storage/uploads',
'assets' => 'public/assets',
]
];