migration docker compose v2

Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
Alexis Pentori 2024-06-27 16:57:03 +02:00
parent 9119f7af1f
commit 6e9a3bc34c
No known key found for this signature in database
GPG Key ID: 65250D2801E47A10
2 changed files with 4 additions and 5 deletions

View File

@ -76,6 +76,6 @@ oauth_consul_service_id: 'oauth-proxy:{{ oauth_domain }}'
oauth_consul_service_tags: ['oauth-proxy', 'ssl-proxy-backend', 'site']
# general container management
compose_recreate: 'smart'
compose_pull: 'missing'
compose_recreate: 'auto'
compose_state: 'present'
compose_restart: false

View File

@ -14,10 +14,9 @@
mode: 0644
- name: 'OAuth Proxy | Create container'
docker_compose:
community.docker.docker_compose_v2:
project_src: '{{ oauth_service_path }}'
files: ['{{ oauth_compose_path }}']
pull: true
pull: '{{ compose_pull }}'
state: '{{ compose_state }}'
restarted: '{{ compose_restart }}'
recreate: '{{ compose_recreate }}'