p-society / gc-server

Stay updated in real-time and engage with the thrill of the game like never before.[WIP]
Apache License 2.0
3 stars 6 forks source link

[FEAT]: Create Dockerfiles and Compose files for Orchestrations #36

Open zakhaev26 opened 5 months ago

zakhaev26 commented 5 months ago

To ensure consistency across environments, we aim to containerize our Auth , Mail , and Core APIs using Docker. This involves creating Dockerfiles for each service and orchestrating them with a Docker Compose configuration.

Auth API: Develop a Dockerfile for our Auth API service, ensuring it includes all necessary dependencies and configurations.
Mail API: Construct a Dockerfile for our Mail API service, considering any specific requirements it may have.
Core API: Build a Dockerfile for our Core API service, including any libraries or tools required for its functionality.
Develop a docker-compose.yml file to orchestrate the deployment and interaction of the Auth, Mail, and Core APIs.
Define service configurations within the Docker Compose file, specifying dependencies, ports, environment variables, and any other   necessary settings

Ensure proper networking and communication between the services within the Docker Compose environment.

Document the Dockerfile structure and usage guidelines for each service to facilitate future development and maintenance.
Provide instructions on how to use the Docker Compose configuration for local development, testing, and production deployment.
punitkr03 commented 5 months ago

Working on it...

majorbruteforce commented 5 months ago

Will get to it asap

majorbruteforce commented 4 months ago

I feel that we should adopt a practice to containerise each service as we are building it.

zakhaev26 commented 4 months ago

True.already getting troubles.