-
Notifications
You must be signed in to change notification settings - Fork 106
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
[deployment] Cannot deploy on production environment #790
Comments
Let me resolve in the following steps:
|
Projects with using
|
I will deliver step1 by the end of today to let us move forward to deploy production site. |
Looks good to me! I actually deployed the latest code this morning. I just manually move the |
By applying pull request pycontw#772 we introduce this issue. This pull request applies a short-term fix according to the discussion of issue pycontw#790.
By applying pull request pycontw#772 we introduce this issue. This pull request applies a short-term fix according to the discussion of issue pycontw#790.
By applying pull request pycontw#772 we introduce this issue. This pull request applies a short-term fix according to the discussion of issue pycontw#790.
By applying pull request pycontw#772 we introduce this issue. This pull request applies a short-term fix according to the discussion of issue pycontw#790.
By applying pull request pycontw#772 we introduce this issue. This pull request applies a short-term fix according to the discussion of issue pycontw#790.
I think it's no longer an issue now. Will open a new issue if we got similar problems. |
Description
docker-compose won't work
Since docker-compose.yml is moved to the contrib folder, the original deployment method
docker-compose up --build -d
at project root level does not work.An alternative is to use
docker-compose -f contrib/docker-compose.yml up --build -d
, but I think it kind of lose the benefit of cutting the command short by using the default naming.But either case won't work. Because in
docker-compose.yml
, it says to build.
whereas theDockerfile
is actually at..
. I think we can work out a better solution.Steps to Reproduce
Steps to reproduce the behavior:
docker-compose up --build -d
at the project root directory (In this case,~/web-projects/pycontw-2020
in the production / staging server)Alternative step:
docker-compose -f contrib/docker-compose.yml up --build -d
Expected Behavior
It should start building, recreate the image and run it.
Actual Behavior
It did not build.
Additional context
Or, should we run it inside the
contrib
folder? It seems a little bit weird to me, and I need to test it out because in my past experience, docker-compose kind of remember which folder you run it. Need to make sure if it causes any problem.Can test it on the staging environment.
The text was updated successfully, but these errors were encountered: