-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regarding Dockerfile #492
Comments
create three different env-files for DEV QA UAT |
You can pass those variables in your command line while running your container with help --env and you change variables which are under ENV instruction but not ARG |
Try this link, you get an clear idea: |
i dont want to use docker container and when i am providing env variable at run time, application is not starting |
Hey Gopal |
Hi
I have 3 working environments DEV/QA/STG and and i am using nodejs application. Now i want to create a Dockerfile for all the environment, but challenges are:
COOKIE_PASSWORD
HEAD_UNIT_USERNAME
HEAD_UNIT_PASSWORD
PG_DB
PG_HOST
PG_PORT
PG_USERNAME
PG_PASSWORD
PORT
WS_ACCESS_KEY
AWS_SECRET_ACCESS_KEY
AWS_REGION
AWS_S3_BUCKET
AWS_SQS_CAMPAIGNS_QUEUE_URL
AWS_SQS_VEHICLES_QUEUE_URL
PQSS_ENABLED=true
AWS_SQS_NOTIFICATION_QUEUE_URL
API_KEY_ENABLED
API_KEY_ID
These values are differ for all DEV/QA/STG.
so How can i create a generic Dockerfile and use these env for particular env.
Please resolve it.
The text was updated successfully, but these errors were encountered: