add v1.0.0 version rules for staging

This commit is contained in:
skeris 2024-07-27 16:58:59 +03:00
parent 8ea49a32ac
commit 02194059af

@ -1,15 +1,17 @@
version: '3.3' version: '3.3'
services: services:
codeword: codewordv1.0.0:
hostname: codeword hostname: codewordv1.0.0
container_name: codeword container_name: codewordv1.0.0
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
tty: true tty: true
environment: environment:
APP_NAME: 'codeword' APP_NAME: 'codeword'
HTTP_HOST: '0.0.0.0' HTTP_CLIENT_HOST: '0.0.0.0'
HTTP_PORT: '3000' HTTP_CLIENT_PORT: '3000'
HTTP_ADMIN_HOST: '0.0.0.0'
HTTP_ADMIN_PORT: '3001'
MONGO_HOST: '10.8.0.6' MONGO_HOST: '10.8.0.6'
MONGO_PORT: '27017' MONGO_PORT: '27017'
MONGO_USER: 'auth-service-user' MONGO_USER: 'auth-service-user'
@ -42,7 +44,6 @@ services:
TRASH_LOG_HOST: "10.8.0.15:7113" TRASH_LOG_HOST: "10.8.0.15:7113"
MODULE_LOGGER: "codeword-staging" MODULE_LOGGER: "codeword-staging"
ports: ports:
- 10.8.0.6:59664:3000 - 10.8.0.6:19100:3000
- 10.8.0.6:59665:9000 - 10.8.0.6:29100:3001
networks: - 10.8.0.6:39100:9000
- default