heruvym/deployments/main/docker-compose.yaml

33 lines
906 B
YAML

services:
heruvym:
container_name: heruvym
restart: unless-stopped
image: $CI_REGISTRY_IMAGE/main:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
ports:
- 10.8.0.8:1488:1488
networks:
- backend_external
- default
hostname: heruvym
tty: true
environment:
- BB_PORT=1488
- BB_IS_PROD=true
- BB_MINIO_AK=$BB_MINIO_AK
- BB_MINIO_EP=$BB_MINIO_EP
- BB_MINIO_SK=$BB_MINIO_SK
- BB_MONGO_URI=$BB_MONGO_URI
- S3_REGION=$S3_REGION
- JWT_SECRET=$JWT_SECRET
- BB_MONGO_URI=mongodb://$MONGO_USER:$MONGO_PASSWORD@10.8.0.8:27017/?authSource=support
- TELEGRAM_TOKEN=6414077478:AAFk03HezovLT2kO_i9OYswH8Weirsgp9GU
- TELEGRAM_CHAT_ID=1001802261459
- REDIS_HOST=10.8.0.9:6379
- REDIS_PASSWORD=Redalert2
- REDIS_DB=4
networks:
backend_external:
driver: bridge
attachable: true
internal: true