Skip to content

Commit

Permalink
Merge pull request #10 from karafra/nestjs
Browse files Browse the repository at this point in the history
✏️ Fix typos from migration
  • Loading branch information
karafra authored Jul 18, 2022
2 parents 62c9adb + 70cea84 commit bec6544
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ openAi:
amqp:
url: "{AMQP_URL}"
discord:
token: "{DISCORD_TOKEN}"
token: "{TOKEN}"
deploy:
port: "{PORT}"
5 changes: 1 addition & 4 deletions docker/deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ ENV TOKEN="$DISCORD_TOKEN"

ENV AMQP_URL="amqp://guest:guest@rabbitmq:5672"

ENV SENTRY_DNS="https://[email protected]/6501050"

ARG DISCORD_BOTID
ENV BOTID="$DISCORD_BOTID"
ENV SENTRY_DSN="https://[email protected]/6501050"

ARG OPEN_AI_TOKEN
ENV OPEN_API_TOKEN="$OPEN_AI_TOKEN"
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async function bootstrap() {
const configurationService: ConfigService =
app.get<ConfigService>(ConfigService);
const logger = new Logger('Bootstrap');
const port = configurationService.get<number>('deploy.port');
const port = configurationService.get<number>('deploy.port', 5000);
await app.listen(port, () => logger.log(`🚀 App running on port ${port}`));
}
bootstrap();

0 comments on commit bec6544

Please sign in to comment.