treasurer/deployments/staging/docker-compose.yaml

43 lines
1.1 KiB
YAML
Raw Normal View History

2023-06-19 19:25:51 +00:00
version: "3.3"
services:
2023-06-20 08:50:15 +00:00
treasurer-app-staging:
hostname: treasurer-service-staging
container_name: treasurer-service-staging
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
2023-06-19 19:25:51 +00:00
tty: true
environment:
- HTTP_HOST=0.0.0.0
- HTTP_PORT=8085
- HTTP_DOMEN=http://localhost:8085
- GRPC_HOST=0.0.0.0
- GRPC_PORT=9085
2024-03-16 10:21:57 +00:00
- IS_MOCK=false
2023-06-20 08:50:15 +00:00
- MOCK_SERVICE_HOST=http://treasurer-mock-staging:8080
2023-06-19 19:25:51 +00:00
- YOOMONEY_STORE_ID=342813
- YOOMONEY_SECRET_KEY=test_CD5KsaQOIcw_yqF4GMT-NuTm8-aaq4dTmQ5bunVAnwE
2023-06-20 08:50:15 +00:00
- YOOMONEY_WEBHOOKS_URL=http://treasurer-mock-staging:8080/webhooks
- YOOMONEY_PAYMENTS_URL=https://api.yookassa.ru/v3/payments
2023-06-19 19:25:51 +00:00
2024-04-21 18:20:43 +00:00
- MONGO_HOST=10.8.0.6
2023-06-19 19:25:51 +00:00
- MONGO_PORT=27017
2023-06-19 22:05:10 +00:00
- MONGO_USER=$MONGO_USER
- MONGO_PASSWORD=$MONGO_PASSWORD
- MONGO_DB_NAME=treasurer
- MONGO_AUTH=treasurer
2023-06-19 19:25:51 +00:00
ports:
2024-04-21 18:20:43 +00:00
- 10.8.0.6:8085:8085
- 10.8.0.6:9085:9085
2023-06-19 19:25:51 +00:00
networks:
2023-06-19 19:34:01 +00:00
- backend_external
- default
2023-06-19 19:25:51 +00:00
networks:
2023-06-19 19:34:01 +00:00
backend_external:
driver: bridge
attachable: true
internal: true