stats deploy
This commit is contained in:
parent
43e8890d7f
commit
83cb305d90
@ -47,6 +47,31 @@ services:
|
||||
parallelism: 1
|
||||
order: start-first
|
||||
|
||||
fetch_stats:
|
||||
image: mathwave/sprint-repo:platform
|
||||
networks:
|
||||
- net
|
||||
environment:
|
||||
DB_HOST: "pg.develop.sprinthub.ru"
|
||||
DB_PASSWORD: $DB_PASSWORD_DEV
|
||||
MINIO_HOST: "minio.develop.sprinthub.ru"
|
||||
MINIO_SECRET_KEY: $MINIO_SECRET_KEY_DEV
|
||||
REDIS_HOST: "redis.develop.sprinthub.ru"
|
||||
REDIS_PASSWORD: $REDIS_PASSWORD_DEV
|
||||
RABBITMQ_HOST: "rabbitmq.develop.sprinthub.ru"
|
||||
RABBITMQ_PASSWORD: $RABBITMQ_PASSWORD_DEV
|
||||
VK_SERVICE_TOKEN: $VK_SERVICE_TOKEN
|
||||
YANDEX_SERVICE_TOKEN: $YANDEX_SERVICE_TOKEN
|
||||
PLATFORM_SECURITY_TOKEN: $PLATFORM_SECURITY_TOKEN
|
||||
command: fetch_stats
|
||||
deploy:
|
||||
mode: replicated
|
||||
restart_policy:
|
||||
condition: any
|
||||
update_config:
|
||||
parallelism: 1
|
||||
order: start-first
|
||||
|
||||
migrate:
|
||||
image: mathwave/sprint-repo:platform
|
||||
environment:
|
||||
|
@ -56,6 +56,31 @@ services:
|
||||
parallelism: 1
|
||||
order: start-first
|
||||
|
||||
fetch_stats:
|
||||
image: mathwave/sprint-repo:platform
|
||||
networks:
|
||||
- net
|
||||
environment:
|
||||
DB_HOST: "pg.sprinthub.ru"
|
||||
DB_PASSWORD: $DB_PASSWORD_PROD
|
||||
MINIO_HOST: "minio.sprinthub.ru"
|
||||
MINIO_SECRET_KEY: $MINIO_SECRET_KEY_PROD
|
||||
REDIS_HOST: "redis.sprinthub.ru"
|
||||
REDIS_PASSWORD: $REDIS_PASSWORD_PROD
|
||||
RABBITMQ_HOST: "rabbitmq.sprinthub.ru"
|
||||
RABBITMQ_PASSWORD: $RABBITMQ_PASSWORD_PROD
|
||||
VK_SERVICE_TOKEN: $VK_SERVICE_TOKEN
|
||||
YANDEX_SERVICE_TOKEN: $YANDEX_SERVICE_TOKEN
|
||||
PLATFORM_SECURITY_TOKEN: $PLATFORM_SECURITY_TOKEN
|
||||
command: fetch_stats
|
||||
deploy:
|
||||
mode: replicated
|
||||
restart_policy:
|
||||
condition: any
|
||||
update_config:
|
||||
parallelism: 1
|
||||
order: start-first
|
||||
|
||||
migrate:
|
||||
image: mathwave/sprint-repo:platform
|
||||
environment:
|
||||
|
Loading…
Reference in New Issue
Block a user