Skip to content

Commit fd140cb

Browse files
committed
Merge branch 'dev' into main
2 parents d8b56db + 14b830d commit fd140cb

27 files changed

+44
-874
lines changed

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ docker-compose.yaml
55
.github
66
.gitignore
77
test/
8-
config/
8+
config/
9+
/data

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish to remote server
1+
name: Publish image to ghcr.io
22

33
on:
44
push:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ lerna-debug.log*
3535
!.vscode/launch.json
3636
!.vscode/extensions.json
3737

38-
*.env
38+
*.env
39+
/data

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ ARG MONGO_INITDB_ROOT_USERNAME=admin
1515
ARG MONGO_INITDB_ROOT_PASSWORD=secret
1616
ARG JWT_SECRET=SomeRandomString
1717
ARG ADMIN_SECRET=RandomSecretForUserCreationRoute
18-
ARG SANDBOX_TOKEN=TinkoffApiSandboxToken
1918
ARG SENTRY_DSN=https://[email protected]/1
2019
ARG SENTRY_TRACE_RATE=0.25
2120

config/.development.env_sample

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ MONGO_INITDB_ROOT_USERNAME=
55
MONGO_INITDB_ROOT_PASSWORD=
66
JWT_SECRET=
77
ADMIN_SECRET=
8-
SANDBOX_TOKEN=
98
SENTRY_DSN=https://[email protected]/1
109
SENTRY_TRACE_RATE=1.0

config/.production.env_sample

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ MONGO_INITDB_ROOT_USERNAME=
44
MONGO_INITDB_ROOT_PASSWORD=
55
JWT_SECRET=
66
ADMIN_SECRET=
7-
SANDBOX_TOKEN=
87
SENTRY_DSN=https://[email protected]/1
98
SENTRY_TRACE_RATE=0.25

config/.test.env_sample

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ MONGO_INITDB_ROOT_USERNAME=
44
MONGO_INITDB_ROOT_PASSWORD=
55
JWT_SECRET=TestKey
66
ADMIN_SECRET=AdminKey
7-
SANDBOX_TOKEN=
87
SENTRY_DSN=https://[email protected]/1
98
SENTRY_TRACE_RATE=0

docker-compose.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,13 @@ services:
1616
- ./config/.production.env
1717
depends_on:
1818
- mongodb
19+
20+
analyzer:
21+
image: 'ghcr.io/samgozman/go-finra-short-sales-analyzer:latest'
22+
restart: unless-stopped
23+
ports:
24+
- '3030:3030'
25+
env_file:
26+
- ./config/.production.env
27+
depends_on:
28+
- mongodb

package-lock.json

Lines changed: 5 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "finra-short-api",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "API for TightShorts.ru - FINRA parser and screener",
55
"author": "Sam Gozman <[email protected]>",
66
"private": true,
@@ -65,8 +65,7 @@
6565
"reflect-metadata": "^0.1.13",
6666
"rimraf": "^3.0.2",
6767
"rxjs": "^7.3.0",
68-
"swagger-ui-express": "^4.1.6",
69-
"tinkoff-api-securities": "^1.0.4"
68+
"swagger-ui-express": "^4.1.6"
7069
},
7170
"devDependencies": {
7271
"@nestjs/cli": "^8.1.4",

0 commit comments

Comments
 (0)