secure port and change hannel for production
This commit is contained in:
parent
2b6e3251ea
commit
335bef1e4f
@ -13,5 +13,16 @@ build-app:
|
|||||||
deploy-to-staging:
|
deploy-to-staging:
|
||||||
tags:
|
tags:
|
||||||
- prod
|
- prod
|
||||||
|
rules:
|
||||||
|
- if: "$CI_COMMIT_BRANCH == $STAGING_BRANCH"
|
||||||
|
extends: .deploy_template
|
||||||
|
tags:
|
||||||
|
- staging
|
||||||
extends: .deploy_template
|
extends: .deploy_template
|
||||||
|
|
||||||
|
deploy-to-prod:
|
||||||
|
rules:
|
||||||
|
- if: "$CI_COMMIT_BRANCH == $PRODUCTION_BRANCH"
|
||||||
|
tags:
|
||||||
|
- prod
|
||||||
|
extends: .deploy_template
|
||||||
|
@ -8,7 +8,7 @@ services:
|
|||||||
- default
|
- default
|
||||||
image: $CI_REGISTRY_IMAGE/main:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
image: $CI_REGISTRY_IMAGE/main:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
||||||
ports:
|
ports:
|
||||||
- 8006:80
|
- 10.8.0.8:8006:80
|
||||||
environment:
|
environment:
|
||||||
- HTTP_ADDRESS=:80
|
- HTTP_ADDRESS=:80
|
||||||
- HTTP_RATE_LIMIT=30s
|
- HTTP_RATE_LIMIT=30s
|
||||||
|
@ -13,5 +13,5 @@ services:
|
|||||||
- HTTP_ADDRESS=:80
|
- HTTP_ADDRESS=:80
|
||||||
- HTTP_RATE_LIMIT=30s
|
- HTTP_RATE_LIMIT=30s
|
||||||
- TEMPLATE_PATH=template.txt
|
- TEMPLATE_PATH=template.txt
|
||||||
- TELEGRAM_CHANNEL_ID=-1001761855840
|
- TELEGRAM_CHANNEL_ID=-1002142785420
|
||||||
- TELEGRAM_TOKEN=6112841016:AAH2nO1c6mqfMewBvHwdXCDp5PCclOuc99s
|
- TELEGRAM_TOKEN=6112841016:AAH2nO1c6mqfMewBvHwdXCDp5PCclOuc99s
|
||||||
|
Loading…
Reference in New Issue
Block a user