wipe: Force pull images

This commit is contained in:
Kacper Donat 2022-10-24 22:40:16 +02:00
parent 15c1dd6655
commit de6cb040d5
3 changed files with 22 additions and 8 deletions

View File

@ -1,5 +1,5 @@
APP_ENV=prod APP_ENV=prod
APP_KEY=base64:{{ wipe_secret|b64encode }} APP_KEY={{ wipe_app_key }}
APP_DEBUG=false APP_DEBUG=false
APP_URL=https://wipe.kadet.net APP_URL=https://wipe.kadet.net
APP_DATABASE=mysql://{{ wipe_database.user }}:{{ wipe_database.password }}@{{ database_mysql_host }}/{{ wipe_database.name }} APP_DATABASE=mysql://{{ wipe_database.user }}:{{ wipe_database.password }}@{{ database_mysql_host }}/{{ wipe_database.name }}

View File

@ -0,0 +1,13 @@
---
# this is needed because https://github.com/rycus86/podlike/issues/6
- name: 'Pull all images for "{{ service }}"'
community.docker.docker_image:
name: "{{ image }}"
source: pull
force_source: yes
with_items:
- registry.kadet.net/wipe/php-fpm:{{ wipe_version }}
loop_control:
loop_var: image
notify:
- Restart services

View File

@ -77,14 +77,15 @@ service_config:
3630326566313239320a653634383431613333636138313330306634626139333830643135373331 3630326566313239320a653634383431613333636138313330306634626139333830643135373331
37303233613065646638303535643535386162316330316161383537313132626261356465313065 37303233613065646638303535643535386162316330316161383537313132626261356465313065
6134633232366434643833333762316462363639653034636438 6134633232366434643833333762316462363639653034636438
wipe_secret: !vault | wipe_app_key: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
65376438366231353937393636626635383236353261653230333438623532373162376465393730 30306566363866333062336664383663643432386536396630363136636464643831633966333839
3337376563306331616261663136626136373330656138660a363434656133386565363634376237 6538383236363132346639363634366164353231636163320a633136336434386230323962356132
38633266386533333836363333323832333630366538323463343637343364656564383734643731 34313763633238333132396264613836646632613438366666393038393836633231663666353635
6638396338366430620a643931636661343336353838373834313163623566653237653263643363 3164633461356431370a383834626262613838363961346132316330663838366335666565333739
65623661623039306461326136636162363834616563346632343730383730616633623861383865 33323335636233376563383331663732303863383761343739393039633662386565613962663165
3332393865376631346632653462366363623231393839613366 62643132313336356365313465353263626565616434633963343764653330316566613633633638
623838613832393239343036396439383561
wipe_mail: wipe_mail:
host: smtp.googlemail.com host: smtp.googlemail.com
user: !vault | user: !vault |