OXID-Deployer-Project/inventory.yml.dist

42 lines
1.1 KiB
Plaintext

config:
application: my.shop.com
keep_releases: 5
repository: git@github.com: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}}
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
labels:
role: production # production | stage | development
development:
<<: *base
branch: dev_7.1.x
keep_releases: 1
composer_options: --verbose --prefer-dist --no-progress --no-interaction # without no-dev option
labels:
role: development