Skip to content

docker compose cleanup #69

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

docker compose cleanup #69

wants to merge 4 commits into from

Conversation

oleggtro
Copy link
Collaborator

This PR generally cleans up and polishes the whole docker setup. This includes parts of the web/frontend service, as it should be able to load its configuration from runtime env vars but currently is not.

Will further look into that tomorrow.

@oleggtro oleggtro added the enhancement New feature or request label Oct 22, 2024
@oleggtro oleggtro requested a review from MathisBurger October 22, 2024 21:48
@oleggtro oleggtro self-assigned this Oct 22, 2024
@MathisBurger
Copy link
Owner

What is the current status of this?

@oleggtro
Copy link
Collaborator Author

@MathisBurger
Copy link
Owner

https://en.wikipedia.org/wiki/Forgetting

So can I close this?

- DB_USERNAME=tasky
- DB_PASSWORD=tasky
- DB_USERNAME=usernator
- DB_PASSWORD=usernator
Copy link
Owner

Choose a reason for hiding this comment

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

Why use other user credentials here?

@@ -26,7 +27,11 @@ class ApiService {
private apiUrl: string;

constructor() {
this.apiUrl = process.env.NODE_ENV === "production" ? "https://api.code-canvas.app" : "http://localhost:3002";
//this.apiUrl = process.env.NODE_ENV === "production" ? "https://api.code-canvas.app" : "http://localhost:3002";
Copy link
Owner

Choose a reason for hiding this comment

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

Please remove this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants