feat/staging prepare - #18
Merged
Merged
Conversation
…date docker-compose.yml to include fastapi service
Collaborator
There was a problem hiding this comment.
create env for staging tht have the hosts of staging network (instead of local host we use service name ) and sone touch the .env we let it for the dev environement
|
|
||
| ENV PYTHONDONTWRITEBYTECODE=1 | ||
| ENV PYTHONUNBUFFERED=1 | ||
|
|
Collaborator
There was a problem hiding this comment.
add another dockerfile tht run the migration on postgress in the staging or do it in this dockerfile
…or alembic installation
| # =REDACTED | ||
| # Additional required variables | ||
| # =REDACTED | ||
| # ...add any other staging-specific variables here... |
| # Redis | ||
| # =REDACTED | ||
| REDIS_PORT=REDACTED | ||
| REDIS_HOST=REDACTED |
|
|
||
| # =REDACTED | ||
| # MinIO | ||
| # =REDACTED |
| command: ["uv", "run", "alembic", "upgrade", "head"] | ||
| networks: | ||
| - multi_network | ||
|
|
Collaborator
There was a problem hiding this comment.
remove this we dont need this
…es from docker-compose.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
How to test
docker compose up --build -d
docker compose ps
docker compose logs -f fastapi
docker compose down