Skip to content

Commit

Permalink
ci: review deploy process
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Oct 28, 2024
1 parent 1395869 commit a3908fe
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @alwatr/notifier
# Alwatr Notifier

[![npm version](https://img.shields.io/npm/v/@alwatr/notifier.svg?style=flat-square)](https://www.npmjs.com/package/@alwatr/notifier)
[![GitHub issues](https://img.shields.io/github/issues/alwatr/notifier.svg?style=flat-square)](https://github.com/alwatr/notifier/issues)
Expand Down
6 changes: 3 additions & 3 deletions deploy/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ networks:

services:
api:
image: $notifierApiImage
image: $apiImage

cpu_count: 1
cpu_shares: 1024
Expand All @@ -21,7 +21,7 @@ services:

environment:
- dbPath=/data/db
- DEBUG=${notifierApiDebug:-}
- DEBUG=${apiDebug:-}

volumes:
- type: bind
Expand All @@ -39,6 +39,6 @@ services:
labels:
traefik.enable: true
traefik.port: 80
traefik.frontend.rule: Host:${appDomains}; PathPrefix:/api/v1/;
traefik.frontend.rule: Host:${apiDomains}; PathPrefix:/api/;
traefik.frontend.entryPoints: http, https
traefik.frontend.redirect.entryPoint: https
8 changes: 3 additions & 5 deletions deploy/env/notifier-api.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ appId='notifier-api'
deployHost='mci2'
deployPath="/srv/${appId}"

appDomains='...'

notifierApiImage='ghcr.io/alimd/notifier-api:...'

notifierApiDebug=1
apiDomains='notify.alwatr.ir'
apiImage='ghcr.io/alwatr/notifier-api:2.0.0'
apiDebug=1
1 change: 0 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
},
"changelogIncludeCommitsClientLogin": " by @%l",
"message": "release:",
"private": true,
"forceGitTag": true,
"signGitTag": true,
"signGitCommit": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/notifier-api/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Telegram Notifier Microservice
# Alwatr Notifier API Microservice

Distributed simple and fast telegram notify microservice.
Distributed simple and fast notify microservice.
2 changes: 1 addition & 1 deletion packages/notifier/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @alwatr/notifier
# Alwatr Notifier

[![npm version](https://img.shields.io/npm/v/@alwatr/notifier.svg?style=flat-square)](https://www.npmjs.com/package/@alwatr/notifier)
[![GitHub issues](https://img.shields.io/github/issues/alwatr/notifier.svg?style=flat-square)](https://github.com/alwatr/notifier/issues)
Expand Down

0 comments on commit a3908fe

Please sign in to comment.