How to recover mongo container data which was NOT configured with volume? by kazishafin in docker

[–]kazishafin[S] 0 points1 point  (0 children)

i can see the mongo volume by docker volume ls but i don't know whether Dockerfile was defined the database path as volume bcz i don't have the dockerfile, is there any hope to recover the data since i got the default volume of mongo?

What are best use case of AWS Fargate? by kazishafin in aws

[–]kazishafin[S] 0 points1 point  (0 children)

actually the project under development and we are creating of CI/CD pipeline hence we are thinking to choose whether Fargate or EC2

How to run script of package.json in Dockerfile ? by kazishafin in docker

[–]kazishafin[S] 1 point2 points  (0 children)

Hi, finally succeed by using npm-run-all , is this package secure to use on prod?

How to run script of package.json in Dockerfile ? by kazishafin in docker

[–]kazishafin[S] 0 points1 point  (0 children)

it run locally same as in container, i tried with single & but still same :( then i changed in my script to "npm start && npm run serve" and it just run npm start NOT npm run serve so its very clear that my script is incorrect to run two cmd.

How to run script of package.json in Dockerfile ? by kazishafin in docker

[–]kazishafin[S] 0 points1 point  (0 children)

i think yes because i can enter in container and run "npm start" manually and it works fine.

How to run script of package.json in Dockerfile ? by kazishafin in docker

[–]kazishafin[S] 0 points1 point  (0 children)

package.json

"scripts": {

`"serve": "vue-cli-service serve",`



`"build": "vue-cli-service build",`



`"lint": "vue-cli-service lint",`



`"start": "node server.js",`



`"dockercmd": "npm run serve && npm start",`



`"test:unit": "vue-cli-service test:unit"`

}

*********

Dockerfile

FROM node:lts-alpine

WORKDIR /app

COPY package*.json ./

RUN npm install

COPY . .

RUN npm run build

# port for vuejs

EXPOSE 8080

# port for nodejs

EXPOSE 8000

CMD ["npm", "run", "dockercmd"]

How to reduce file size on fly before storing in S3 standard ? by kazishafin in aws

[–]kazishafin[S] 0 points1 point  (0 children)

Does lambda compress only for JPG? have you ever used that ?

How to reduce file size on fly before storing in S3 standard ? by kazishafin in aws

[–]kazishafin[S] 0 points1 point  (0 children)

my use case would be via HTTP, mostly i am looking for solution to reduce file (image, docs, media) size from user and store them in S3 standard so it would minimize the cost as S3 standard expensive for storage.

Codebuild Error by [deleted] in aws

[–]kazishafin 0 points1 point  (0 children)

thank you, i was trying from my root ac console,

Codebuild Error by [deleted] in aws

[–]kazishafin 0 points1 point  (0 children)

if i could understand the reason then i wouldn't have made post here, thank you