OXID-Deployer/inventory.yml

42 lignes
990 B
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
.base: &base
local: true
deploy_path: /home/XXX/{{application}}_{{alias}}
dbConfPath: /home/phfhcwoc/dbConf/my_{{alias}}.cnf
shared_files:
- .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
dbName: myProdDatabase
labels:
role: production # production | stage | development
development:
<<: *base
branch: dev_7.1.x
dbName: myDevDatabase
keep_releases: 1
composer_options: --verbose --prefer-dist --no-progress --no-interaction # without no-dev option
labels:
role: development