docker: upgrade to Docker compose V2
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a90ef651d7
commit
d28fa5cf5b
|
@ -56,6 +56,6 @@ mediawiki_db_backup_frequency: 'daily'
|
|||
mediawiki_db_backup_timeout: 600
|
||||
|
||||
# general container management
|
||||
compose_recreate: 'smart'
|
||||
compose_recreate: 'auto'
|
||||
compose_state: 'present'
|
||||
compose_restart: false
|
||||
compose_pull: 'always'
|
||||
|
|
|
@ -13,11 +13,10 @@
|
|||
mode: 0644
|
||||
|
||||
- name: 'Create containers'
|
||||
docker_compose:
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: '{{ mediawiki_service_path }}'
|
||||
pull: true
|
||||
state: '{{ compose_state }}'
|
||||
restarted: '{{ compose_restart }}'
|
||||
pull: '{{ compose_pull }}'
|
||||
recreate: |-
|
||||
{{ (mediawiki_skin_repo.changed
|
||||
or (mediawiki_config_file is defined and mediawiki_config_file.changed))
|
||||
|
|
Loading…
Reference in New Issue