Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
107
Merge Requests
107
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
48814003
Commit
48814003
authored
May 24, 2023
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/lamp: add composer to stack
parent
85f725dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
0 deletions
+49
-0
stack/lamp/buildout.cfg
stack/lamp/buildout.cfg
+49
-0
No files found.
stack/lamp/buildout.cfg
View file @
48814003
...
@@ -67,6 +67,55 @@ db-user = lamp
...
@@ -67,6 +67,55 @@ db-user = lamp
# Publish default lamp slave frontend url
# Publish default lamp slave frontend url
default-frontend = True
default-frontend = True
[composer]
recipe = slapos.recipe.build:download
url = https://getcomposer.org/installer
filename = composer-setup.php
[composer-php.ini]
# A minimal php.ini that will be used for composer
recipe = collective.recipe.template
input =
inline:[PHP]
engine = On
safe_mode = Off
expose_php = Off
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = On
display_startup_errors = Off
log_errors = On
zend_extension=opcache
extension=apcu
extension=redis
extension=imagick
apc.enabled=1
[opcache]
opcache.enable=1
opcache.enable_cli=1
output = ${composer:location}/php.ini
[composer-setup]
recipe = plone.recipe.command
command =
INSTAL_DIR=${composer:location}/bin
PATH=${apache-php:location}/bin:$PATH
mkdir -p $INSTAL_DIR
php ${composer:location}/composer-setup.php --install-dir=$INSTAL_DIR --filename=composer-bin
stop-on-error = true
update-command = ${:command}
[composer-bin]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
export PATH=${apache-php:location}/bin:$PATH
php -c ${composer-php.ini:output} ${composer:location}/bin/composer-bin "$@"
output = ${composer:location}/bin/composer
mode = 755
#----------------
#----------------
#-- Instance-level buildout profiles.
#-- Instance-level buildout profiles.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment