OXID-Deployer/inventory.yml

45 lignes
1.4 KiB
YAML

config:
application: my.shop.com
keep_releases: 5
repository: gitfhfac@git.d3data.de:Customers/my.shop.com.git
bin/php: /usr/local/php8.2/bin/php
bin/mysql: /usr/local/mysql/bin/mysql
bin/mysqldump: /usr/local/mysql/bin/mysqldump
# bin/composer: /usr/local/php8.1/bin/php /home/phfhcwoc/bin/composer.phar # optional for custom composer version
.base: &base
local: true
deploy_path: /home/XXX/{{application}}_{{alias}}
db_conf_path: /home/XXX/dbConf/.{{application}}_{{alias}}.cnf # optional for database actions
shared_files:
- .htaccess
- .htpasswd
- .env # otherwise source/config.inc.php
shared_dirs:
- source/sitemaps
- source/export
- source/log
- source/import
- source/out/downloads
- source/out/media
- source/out/pictures
copy_dirs:
- var
hosts:
production:
<<: *base
branch: rel_7.0.x
db_name: myProdDatabase # optional for database actions
labels:
role: production # production | stage | development
development:
<<: *base
branch: dev_7.1.x
db_name: myDevDatabase # optional for database actions
keep_releases: 1
composer_options: --verbose --prefer-dist --no-progress --no-interaction # without no-dev option
labels:
role: development