OXID-Deployer/inventory.yml

44 lines
1.3 KiB
YAML
Raw Normal View History

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
2024-10-16 23:22:22 +02:00
bin/mysql: /usr/local/mysql/bin/mysql
2024-10-17 08:52:03 +02:00
# 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/.my_{{alias}}.cnf # optional for database actions
shared_files:
- .htaccess
- .htpasswd
2024-10-17 08:50:46 +02:00
- .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
2024-10-17 08:50:46 +02:00
db_name: myProdDatabase # optional for database actions
2024-10-16 23:22:22 +02:00
labels:
2024-10-17 08:50:46 +02:00
role: production # production | stage | development
development:
<<: *base
branch: dev_7.1.x
2024-10-17 08:50:46 +02:00
db_name: myDevDatabase # optional for database actions
keep_releases: 1
composer_options: --verbose --prefer-dist --no-progress --no-interaction # without no-dev option
2024-10-16 23:22:22 +02:00
labels:
role: development