ci(staging): staging tag
This commit is contained in:
parent
984b1d6568
commit
fa9de70e64
@ -1,15 +1,11 @@
|
||||
version: "3.3"
|
||||
|
||||
services:
|
||||
treasurer-app:
|
||||
hostname: treasurer-service
|
||||
container_name: treasurer-service
|
||||
treasurer-app-staging:
|
||||
hostname: treasurer-service-staging
|
||||
container_name: treasurer-service-staging
|
||||
image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
||||
tty: true
|
||||
build:
|
||||
context: ../../.
|
||||
dockerfile: Dockerfile
|
||||
target: production
|
||||
environment:
|
||||
- HTTP_HOST=0.0.0.0
|
||||
- HTTP_PORT=8085
|
||||
@ -19,14 +15,14 @@ services:
|
||||
- GRPC_PORT=9085
|
||||
|
||||
- IS_MOCK=true
|
||||
- MOCK_SERVICE_HOST=treasurer-mock:8080
|
||||
- MOCK_SERVICE_HOST=http://treasurer-mock-staging:8080
|
||||
|
||||
- YOOMONEY_STORE_ID=$YOOMONEY_STORE_ID
|
||||
- YOOMONEY_SECRET_KEY=$YOOMONEY_SECRET_KEY
|
||||
- YOOMONEY_WEBHOOKS_URL=http://treasurer-mock:8080/webhooks
|
||||
- YOOMONEY_PAYMENTS_URL=http://treasurer-mock:8080/payments
|
||||
- YOOMONEY_WEBHOOKS_URL=http://treasurer-mock-staging:8080/webhooks
|
||||
- YOOMONEY_PAYMENTS_URL=http://treasurer-mock-staging:8080/payments
|
||||
|
||||
- MONGO_HOST=mongo
|
||||
- MONGO_HOST=10.6.0.11
|
||||
- MONGO_PORT=27017
|
||||
- MONGO_USER=$MONGO_USER
|
||||
- MONGO_PASSWORD=$MONGO_PASSWORD
|
||||
@ -41,9 +37,9 @@ services:
|
||||
depends_on:
|
||||
- treasurer-mock
|
||||
|
||||
treasurer-mock:
|
||||
hostname: treasurer-mock
|
||||
container_name: treasurermock-container
|
||||
treasurer-mock-staging:
|
||||
hostname: treasurer-mock-staging
|
||||
container_name: treasurermock-container-staging
|
||||
image: 'wiremock/wiremock:2.35.0'
|
||||
ports:
|
||||
- 8080:8080
|
||||
|
Loading…
Reference in New Issue
Block a user