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

Made redis url be constructed from environment variables and hostname not bounded to repository folder's name #83

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

tomaspalma
Copy link
Member

@tomaspalma tomaspalma commented Jun 24, 2024

Closes #82

  • All attributes of the redis url are now present in the .env.dev file template, so they are not hardcoded
  • The docker-compose.yaml file was changed so that the redis container has a container_name instead of its name being automatically built by docker as tts-be-redis_service-1 which weren't allowing the backend to be ran from a folder with a name different than tts-be
  • Also changed the README with steps to create an actual .env file from the .env.dev one, as well as added the information that we are able to access phpmyadmin as well as the necessary development credentials.

This should also make it easier to deploy it correctly.

@tomaspalma tomaspalma self-assigned this Jun 24, 2024
@tomaspalma tomaspalma changed the title Made redis url be constructe from environment variables and hostname not bounded to repository folder's name Made redis url be constructed from environment variables and hostname not bounded to repository folder's name Jun 25, 2024
@tomaspalma tomaspalma merged commit f23726e into develop Jul 4, 2024
@thePeras thePeras deleted the fix/redis-url-dynamic branch July 4, 2024 10:54
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.

Make redis url not be hardcoded
2 participants