Merge pull request #69 from eytanProxi/patch-1

Symfony: add `COMPOSER_ALLOW_SUPERUSER` env
This commit is contained in:
🏔️ Peak
2024-11-15 16:17:19 +01:00
committed by GitHub
3 changed files with 14 additions and 2 deletions

View File

@@ -185,6 +185,7 @@ export default defineConfig({
},
social: {
github: "https://github.com/coollabsio/documentation-coolify",
blueSky: "https://bsky.app/profile/coolify.io",
"x.com": "https://x.com/coolifyio",
discord: "https://discord.gg/coolify",
twitch: "https://twitch.tv/heyandras",

View File

@@ -3311,7 +3311,7 @@ paths:
type: string
responses:
'200':
description: 'Project details'
description: 'Environment details'
content:
application/json:
schema:
@@ -4757,6 +4757,10 @@ components:
compose_parsing_version:
type: string
description: 'How Coolify parse the compose file.'
custom_nginx_configuration:
type: string
nullable: true
description: 'Custom Nginx configuration base64 encoded.'
type: object
ApplicationDeploymentQueue:
description: 'Project model'
@@ -5134,6 +5138,9 @@ components:
smtp_notifications_database_backups:
type: boolean
description: 'Whether to send database backup notifications via SMTP.'
smtp_notifications_server_disk_usage:
type: boolean
description: 'Whether to send server disk usage notifications via SMTP.'
discord_enabled:
type: boolean
description: 'Whether Discord is enabled or not.'
@@ -5155,6 +5162,9 @@ components:
discord_notifications_scheduled_tasks:
type: boolean
description: 'Whether to send scheduled task notifications via Discord.'
discord_notifications_server_disk_usage:
type: boolean
description: 'Whether to send server disk usage notifications via Discord.'
show_boarding:
type: boolean
description: 'Whether to show the boarding screen or not.'

View File

@@ -17,6 +17,7 @@ Symfony is the leading PHP framework to create websites and web applications. Bu
- Set `APP_SECRET`
- Set `NIXPACKS_PHP_FALLBACK_PATH` to `/index.php`
- Set `NIXPACKS_PHP_ROOT_DIR` to `/app/public`
- Set `COMPOSER_ALLOW_SUPERUSER` to `1` (unless you have [set up a non-root user](/docs/knowledge-base/server/non-root-user))
- Set `Ports Exposes` to `80`
### Database migrations
@@ -52,4 +53,4 @@ You might need to configure the [trusted proxy](https://symfony.com/doc/current/
framework:
trusted_proxies: "%env(TRUSTED_PROXIES)%"
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix']
```
```