mirror of
https://github.com/LukeHagar/documentation-coolify.git
synced 2025-12-06 04:19:37 +00:00
Merge pull request #69 from eytanProxi/patch-1
Symfony: add `COMPOSER_ALLOW_SUPERUSER` env
This commit is contained in:
@@ -185,6 +185,7 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
social: {
|
social: {
|
||||||
github: "https://github.com/coollabsio/documentation-coolify",
|
github: "https://github.com/coollabsio/documentation-coolify",
|
||||||
|
blueSky: "https://bsky.app/profile/coolify.io",
|
||||||
"x.com": "https://x.com/coolifyio",
|
"x.com": "https://x.com/coolifyio",
|
||||||
discord: "https://discord.gg/coolify",
|
discord: "https://discord.gg/coolify",
|
||||||
twitch: "https://twitch.tv/heyandras",
|
twitch: "https://twitch.tv/heyandras",
|
||||||
|
|||||||
12
openapi.yaml
12
openapi.yaml
@@ -3311,7 +3311,7 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: 'Project details'
|
description: 'Environment details'
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
@@ -4757,6 +4757,10 @@ components:
|
|||||||
compose_parsing_version:
|
compose_parsing_version:
|
||||||
type: string
|
type: string
|
||||||
description: 'How Coolify parse the compose file.'
|
description: 'How Coolify parse the compose file.'
|
||||||
|
custom_nginx_configuration:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
description: 'Custom Nginx configuration base64 encoded.'
|
||||||
type: object
|
type: object
|
||||||
ApplicationDeploymentQueue:
|
ApplicationDeploymentQueue:
|
||||||
description: 'Project model'
|
description: 'Project model'
|
||||||
@@ -5134,6 +5138,9 @@ components:
|
|||||||
smtp_notifications_database_backups:
|
smtp_notifications_database_backups:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: 'Whether to send database backup notifications via SMTP.'
|
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:
|
discord_enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: 'Whether Discord is enabled or not.'
|
description: 'Whether Discord is enabled or not.'
|
||||||
@@ -5155,6 +5162,9 @@ components:
|
|||||||
discord_notifications_scheduled_tasks:
|
discord_notifications_scheduled_tasks:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: 'Whether to send scheduled task notifications via Discord.'
|
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:
|
show_boarding:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: 'Whether to show the boarding screen or not.'
|
description: 'Whether to show the boarding screen or not.'
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ Symfony is the leading PHP framework to create websites and web applications. Bu
|
|||||||
- Set `APP_SECRET`
|
- Set `APP_SECRET`
|
||||||
- Set `NIXPACKS_PHP_FALLBACK_PATH` to `/index.php`
|
- Set `NIXPACKS_PHP_FALLBACK_PATH` to `/index.php`
|
||||||
- Set `NIXPACKS_PHP_ROOT_DIR` to `/app/public`
|
- 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`
|
- Set `Ports Exposes` to `80`
|
||||||
|
|
||||||
### Database migrations
|
### Database migrations
|
||||||
@@ -52,4 +53,4 @@ You might need to configure the [trusted proxy](https://symfony.com/doc/current/
|
|||||||
framework:
|
framework:
|
||||||
trusted_proxies: "%env(TRUSTED_PROXIES)%"
|
trusted_proxies: "%env(TRUSTED_PROXIES)%"
|
||||||
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix']
|
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix']
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user