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

Containerize the Server #3

Closed
judtinzhang opened this issue May 21, 2023 · 0 comments
Closed

Containerize the Server #3

judtinzhang opened this issue May 21, 2023 · 0 comments
Assignees

Comments

@judtinzhang
Copy link
Member

judtinzhang commented May 21, 2023

I am not too familiar with this, but the goal is to create a sufficient proof of concept that the project can be deployed.

This can be tested by creating a basic TCP socket on port 8000, and creating a working Dockerfile for the program.

Additionally, we also want a docker-compose file that spins up a local database for testing

To switch from a local database to production database, we will use an environment variable DATABASE_URL (in the docker-compose, DATABASE_URL will point to the local DB, in production, that variable will point to the production DB)

This should serve as sufficient proof of concept that the project can be deployed.

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

No branches or pull requests

5 participants