vault-wrap: правка скриптов запуска.

This commit is contained in:
svkalinin 2024-07-10 15:14:21 +03:00
parent f225de32a5
commit e22936cce4

View File

@ -76,12 +76,12 @@ traefik_deploy:
<<: *dedicated-runner <<: *dedicated-runner
stage: deploy stage: deploy
script: script:
- mkdir -p /usr/lcal/etc/traefik - mkdir -p /usr/local/etc/traefik
- docker volume create traefik_traefik-ssl - docker volume create traefik_traefik-ssl
- docker volume create traefik_traefik-dynamic-conf - docker volume create traefik_traefik-dynamic-conf
- cp /etc/ssl/certs/runner1-prod.corp.samsonopt.ru.crt /srv/docker/volumes/traefik-traefik-ssl/_data - cp /etc/ssl/certs/runner1-prod.corp.samsonopt.ru.crt /srv/docker/volumes/traefik-traefik-ssl/_data
- cp /etc/ssl/private/runner1-prod.corp.samsonopt.ru.key /srv/docker/volumes/traefik_traefik-ssl/_data - cp /etc/ssl/private/runner1-prod.corp.samsonopt.ru.key /srv/docker/volumes/traefik_traefik-ssl/_data
- cp traefik-files/traefik.yml /usr/lcal/etc/traefik/traefik.yml - cp traefik-files/traefik.yml /usr/local/etc/traefik/traefik.yml
- cp traefik-files/certificates.yml /srv/docker/volumes/traefik_traefik-dynamic-conf/_data/certificates.yml - cp traefik-files/certificates.yml /srv/docker/volumes/traefik_traefik-dynamic-conf/_data/certificates.yml
- export TLS_CERT_FILE=runner1-prod.corp.samsonopt.ru.crt - export TLS_CERT_FILE=runner1-prod.corp.samsonopt.ru.crt
- export TLS_KEY_FILE=runner1-prod.corp.samsonopt.ru.key - export TLS_KEY_FILE=runner1-prod.corp.samsonopt.ru.key