Operate accessories
When you want mysql, redis, and the like under MRSK management
This commit is contained in:
27
test/fixtures/deploy_with_accessories.yml
vendored
Normal file
27
test/fixtures/deploy_with_accessories.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
service: app
|
||||
image: dhh/app
|
||||
servers:
|
||||
- 1.1.1.1
|
||||
- 1.1.1.2
|
||||
registry:
|
||||
username: user
|
||||
password: pw
|
||||
|
||||
accessories:
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
host: 1.1.1.3
|
||||
port: 3306
|
||||
env:
|
||||
clear:
|
||||
MYSQL_ROOT_HOST: '%'
|
||||
secret:
|
||||
- MYSQL_ROOT_PASSWORD
|
||||
volumes:
|
||||
- /var/lib/mysql:/var/lib/mysql
|
||||
redis:
|
||||
image: redis:8.0
|
||||
host: 1.1.1.4
|
||||
port: 6379
|
||||
volumes:
|
||||
- /var/lib/redis:/data
|
||||
Reference in New Issue
Block a user