## 概要 [Task2729: NestJSの環境変数をバリデータでチェックする](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2729) - 環境変数のバリデータを実装しました。 - 起動時にバリデータのチェックに失敗したらエラーとなるようにしています。 ## レビューポイント - チェック対象の環境変数は適切か - チェック内容は適切か ## UIの変更 - なし ## 動作確認状況 - ローカルで確認 ## 補足 - 参考:[環境変数をバリデーションしたい](https://zenn.dev/waddy/articles/nestjs-configuration-service#5.-%E7%92%B0%E5%A2%83%E5%A4%89%E6%95%B0%E3%82%92%E3%83%90%E3%83%AA%E3%83%87%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%97%E3%81%9F%E3%81%84)
24 lines
413 B
YAML
24 lines
413 B
YAML
version: '3'
|
|
|
|
services:
|
|
dictation_server:
|
|
build: .
|
|
working_dir: /app/dictation_server
|
|
ports:
|
|
- '8081:8081'
|
|
volumes:
|
|
- ../../:/app
|
|
- node_modules:/app/dictation_server/node_modules
|
|
expose:
|
|
- '8081'
|
|
environment:
|
|
- CHOKIDAR_USEPOLLING=true
|
|
networks:
|
|
- external
|
|
networks:
|
|
external:
|
|
name: omds_network
|
|
external: true
|
|
volumes:
|
|
node_modules:
|