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

feat: add Docker Compose for next-app & websockets. #121

Merged
merged 7 commits into from
Sep 26, 2024

Conversation

geekyharsh05
Copy link
Contributor

@geekyharsh05 geekyharsh05 commented Sep 24, 2024

This pr resolves the issue #120.

This pr setups services:

  • Integrates next-app
  • Integrates postgres db
  • Integrates redis
  • Integrates Websockets
  • Integrates prisma-studio

I have tested it on my end.

All Services:

Screenshot 2024-09-24 at 9 47 30 PM

WebSockets Service:

Screenshot 2024-09-24 at 9 52 41 PM

Next App Service:

Screenshot 2024-09-24 at 10 24 24 PM

Prisma Studio Service:

Screenshot 2024-09-24 at 10 24 32 PM

Redis Stack Browser View:

Screenshot 2024-09-24 at 9 47 09 PM

There is one problem with the .env file path in the docker compose file.
So, I have used an alternate way to pass the env file using cli.
docker compose --env-file ./next-app/.env --env-file ./ws/.env up -d

@SujithThirumalaisamy Please review the Docker Compose configuration and let me know if any adjustments are needed.

@SujithThirumalaisamy SujithThirumalaisamy merged commit adf0ba4 into code100x:main Sep 26, 2024
1 check passed
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.

2 participants