This section provides instructions to set up and run the project using Docker.
- 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.
- Define the following environment variables in a
.envfile 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 the Docker images and start the services:
docker-compose -f insta-compose.yaml up --build
-
Access the application at
http://localhost:8000.
- Application:
8000(mapped to host8000) - Database: Not exposed to the host system.
- The application uses Gunicorn as the WSGI server.
- Ensure the
requirements.txtfile is up-to-date with the necessary Python dependencies.
For further details, refer to the project documentation or contact the development team.