Add more modules to phpvms
This commit is contained in:
parent
0e47afdf5e
commit
82f65d396f
4 changed files with 80 additions and 18 deletions
|
|
@ -8,7 +8,7 @@ phpvms_volume_opts:
|
|||
- "username={{ opentofu.hcloud_storage_box_accounts.phpvms_test.user }}"
|
||||
- "password={{ opentofu.hcloud_storage_box_accounts.phpvms_test.pass }}"
|
||||
|
||||
phpvms_test_compose:
|
||||
_phpvms_test_compose:
|
||||
file:
|
||||
services:
|
||||
phpvms-app:
|
||||
|
|
@ -23,7 +23,7 @@ phpvms_test_compose:
|
|||
command: |
|
||||
bash -c "while true
|
||||
do
|
||||
cp -rf /mnt/kondor-virtual_in /mnt/public/kondor-virtual
|
||||
cp -rf /mnt/kondor-virtual_in/* /mnt/public/kondor-virtual
|
||||
sleep 60
|
||||
done"
|
||||
volumes:
|
||||
|
|
@ -40,4 +40,5 @@ phpvms_test_compose:
|
|||
o: "{{ phpvms_volume_opts | join(',') }}"
|
||||
device: "//{{ opentofu.hcloud_storage_box_accounts.phpvms_test.host }}/{{ opentofu.hcloud_storage_box_accounts.phpvms_test.user }}"
|
||||
|
||||
phpvms_compose: "{{ phpvms_compose_base | combine(phpvms_test_compose, list_merge='append_rp', recursive=true) }}"
|
||||
_phpvms_compose: "{{ phpvms_compose_base | combine(phpvms_test_compose, list_merge='append_rp', recursive=true) }}"
|
||||
phpvms_compose: "{{ phpvms_compose_base }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue