File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,11 @@ Clone or download this repository and start with docker-compose:
4444
4545 > docker-compose up -d
4646
47- This will download the prebuilt images from Dockerhub.
47+ This will download the latest released prebuilt images from Dockerhub. To download the latest developer images from Dockerhub:
4848
49- Point your browser to http://127.0.0.1 to open the [ Swagger UI ] ( https://swagger.io/tools/swagger-ui/ ) and browse/use the API definition.
49+ > docker-compose --env-file .env.develop up
5050
51+ Point your browser to http://127.0.0.1 to open the [ Swagger UI] ( https://swagger.io/tools/swagger-ui/ ) and browse/use the API definition.
5152
5253### Optional: Build Docker Images
5354
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ WORKDIR /app
77COPY ./package.json /app/package.json
88RUN npm install --no-optional --production
99COPY . /app
10+ COPY ./resources/.env /app/.env
1011RUN find . -type f ! -path '*/node_modules/*' -print0 | xargs -0 dos2unix
1112
1213VOLUME /app/resources
Original file line number Diff line number Diff line change 55 "scripts" : {
66 "eslint" : " eslint src" ,
77 "eslint-fix" : " eslint --fix src" ,
8- "start" : " cross-env DOTENV_FLOW_PATH=./resources nodemon -w ./resources/.env -w ./resources/.env.local -w ./src/ -x \" node -r dotenv-flow/config\" ./src/server.js" ,
9- "start-dist" : " cross-env DOTENV_FLOW_PATH=./resources node -r dotenv-flow/config ./src/server.js" ,
8+ "start-dev " : " cross-env DOTENV_FLOW_PATH=./resources nodemon -w ./resources/.env -w ./resources/.env.local -w ./src/ -x \" node -r dotenv-flow/config\" ./src/server.js" ,
9+ "start-dist" : " node -r dotenv-flow/config ./src/server.js" ,
1010 "jsdoc" : " swagger-jsdoc -d ./src/swaggerDef.json -o ./src/swagger.json src/routes.js"
1111 },
1212 "author" : " Botium GmbH" ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ BOTIUM_SPEECH_KALDI_URL_DE=http://stt_de:80/client/dynamic/recognize
3333# BOTIUM_SPEECH_GOOGLE_KEYFILE=./resources/google.json
3434# BOTIUM_SPEECH_GOOGLE_CLIENT_EMAIL=
3535# BOTIUM_SPEECH_GOOGLE_PRIVATE_KEY=
36- BOTIUM_SPEECH_GOOGLE_CONFIG = {}
36+ # BOTIUM_SPEECH_GOOGLE_CONFIG={}
3737# For files longer than 1 minute, you have to create a Google Cloud Storage Bucket as temporary storage (give read/write access to service user)
3838# BOTIUM_SPEECH_GOOGLE_BUCKET_NAME=
3939# BOTIUM_SPEECH_GOOGLE_API_VERSION=
You can’t perform that action at this time.
0 commit comments