Docker entrypoint not executing daphne commandkeep environment when executing in scriptShowing docker...
How would 10 generations of living underground change the human body?
Was there a Viking Exchange as well as a Columbian one?
What are the steps to solving this definite integral?
Two field separators (colon and space) in awk
Extension of 2-adic valuation to the real numbers
Coordinate my way to the name of the (video) game
How can the Githyanki Supreme Commander move while insubstantial?
How to denote matrix elements succinctly?
What makes accurate emulation of old systems a difficult task?
Converting a sprinkler system's 24V AC outputs to 3.3V DC logic inputs
Why does nature favour the Laplacian?
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
Why do games have consumables?
Was there a shared-world project before "Thieves World"?
Retract an already submitted recommendation letter (written for an undergrad student)
How to stop co-workers from teasing me because I know Russian?
Is there any official lore on the Far Realm?
Pulling the rope with one hand is as heavy as with two hands?
Why was the Spitfire's elliptical wing almost uncopied by other aircraft of World War 2?
How does Captain America channel this power?
How do I reattach a shelf to the wall when it ripped out of the wall?
Can an Area of Effect spell cast outside a Prismatic Wall extend inside it?
Function pointer with named arguments?
What is the most expensive material in the world that could be used to create Pun-Pun's lute?
Docker entrypoint not executing daphne command
keep environment when executing in scriptShowing docker container name in ps listphpMyAdmin can't connect to mysql when using Docker-Compose, it works using “docker run”Nginx - Execute php files in different docker containerContainer port/service accessible from all host IP's with docker custom bridge linked to IPv4 alias on Synology NASHow to use docker in scripted jenkins pipeline on RHEL7IPTables blocking docker container internet access on CentOSHow can I launch a gui program automatically on boot in an Alpine docker container?phpmyadmin docker site can't be reachedWorkspace cannot create for Eclipse Che build with Tomcat
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
Daphne not executing from entrypoint.sh, however whenever I execute it from containers terminal manually it works without problem. Docker logs only shows that gunicorn is started in container, but there is no info about daphne. Here is my entrypoint script:
#!/usr/bin/env bash
exec gunicorn --reload project.wsgi -c ./gunicorn.py -b 0.0.0.0:8000
exec daphne project.asgi:application -b 0.0.0.0 -p 9000
docker bash-scripting
New contributor
Nurkanat Khametov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Daphne not executing from entrypoint.sh, however whenever I execute it from containers terminal manually it works without problem. Docker logs only shows that gunicorn is started in container, but there is no info about daphne. Here is my entrypoint script:
#!/usr/bin/env bash
exec gunicorn --reload project.wsgi -c ./gunicorn.py -b 0.0.0.0:8000
exec daphne project.asgi:application -b 0.0.0.0 -p 9000
docker bash-scripting
New contributor
Nurkanat Khametov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Daphne not executing from entrypoint.sh, however whenever I execute it from containers terminal manually it works without problem. Docker logs only shows that gunicorn is started in container, but there is no info about daphne. Here is my entrypoint script:
#!/usr/bin/env bash
exec gunicorn --reload project.wsgi -c ./gunicorn.py -b 0.0.0.0:8000
exec daphne project.asgi:application -b 0.0.0.0 -p 9000
docker bash-scripting
New contributor
Nurkanat Khametov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Daphne not executing from entrypoint.sh, however whenever I execute it from containers terminal manually it works without problem. Docker logs only shows that gunicorn is started in container, but there is no info about daphne. Here is my entrypoint script:
#!/usr/bin/env bash
exec gunicorn --reload project.wsgi -c ./gunicorn.py -b 0.0.0.0:8000
exec daphne project.asgi:application -b 0.0.0.0 -p 9000
docker bash-scripting
docker bash-scripting
New contributor
Nurkanat Khametov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Nurkanat Khametov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Nurkanat Khametov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked yesterday
Nurkanat KhametovNurkanat Khametov
1
1
New contributor
Nurkanat Khametov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Nurkanat Khametov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Nurkanat Khametov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Nurkanat Khametov is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1429467%2fdocker-entrypoint-not-executing-daphne-command%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Nurkanat Khametov is a new contributor. Be nice, and check out our Code of Conduct.
Nurkanat Khametov is a new contributor. Be nice, and check out our Code of Conduct.
Nurkanat Khametov is a new contributor. Be nice, and check out our Code of Conduct.
Nurkanat Khametov is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1429467%2fdocker-entrypoint-not-executing-daphne-command%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown