Skip to content
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

#deploy problems #307

Merged
merged 14 commits into from
Nov 17, 2023
Merged

#deploy problems #307

merged 14 commits into from
Nov 17, 2023

Conversation

BelousSofiya
Copy link
Collaborator

@BelousSofiya BelousSofiya commented Nov 14, 2023

I copied docker-compose files from cicd, but it didn't work locally. So I made some changes:
image
image
image

For now it works locally correctly. To build and run containers:
docker compose -f docker-compose.db.yml up -d --build
docker compose -f docker-compose.dev.yml up -d --build
docker compose -f docker-compose.nginx.yml up -d --build

Then you can work with frontend and backend (and pgadmin) using nginx container. It works locally, but I have no way to try it on deploy, but I hope, it will help

@BelousSofiya BelousSofiya requested review from popovycholeg, mehalyna, kimachinskiy and GeorgiyII and removed request for popovycholeg November 14, 2023 18:13
@BelousSofiya BelousSofiya requested review from popovycholeg and removed request for GeorgiyII November 14, 2023 19:21
proxy_set_header Connection 'upgrade';
proxy_cache_bypass $http_upgrade;
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check GitHub warnings. No newline at the end of the file
https://stackoverflow.com/a/729795

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for feedback. Done

@BelousSofiya BelousSofiya requested review from kimachinskiy and removed request for kimachinskiy November 16, 2023 10:16
@BelousSofiya BelousSofiya merged commit 944b985 into develop Nov 17, 2023
4 checks passed
@BelousSofiya BelousSofiya deleted the #deployProblems branch November 17, 2023 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants