Skip to content

hmd37/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running the Project with Docker

This section provides instructions to set up and run the project using Docker.

Prerequisites

  • Ensure Docker and Docker Compose are installed on your system.
  • The project requires Python 3.12 and PostgreSQL as specified in the Dockerfile and Compose file.

Environment Variables

  • Define the following environment variables in a .env file or directly in the Compose file:
    • POSTGRES_USER: Database username (default: user)
    • POSTGRES_PASSWORD: Database password (default: password)
    • POSTGRES_DB: Database name (default: app_db)

Build and Run Instructions

  1. Build the Docker images and start the services:

    docker-compose -f insta-compose.yaml up --build
  2. Access the application at http://localhost:8000.

Exposed Ports

  • Application: 8000 (mapped to host 8000)
  • Database: Not exposed to the host system.

Notes

  • The application uses Gunicorn as the WSGI server.
  • Ensure the requirements.txt file is up-to-date with the necessary Python dependencies.

For further details, refer to the project documentation or contact the development team.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published