This repository contains configuration files for setting up the Digital School infrastructure using Docker Compose. The infrastructure includes PostgreSQL, pgAdmin, and Keycloak services.
The source code for this project is hosted on GitHub: artonn2k/infrastructure
Before running the Docker Compose setup, ensure you have the following installed on your system:
- Docker
- Docker Compose
To set up the Digital School infrastructure, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/artonn2k/infrastructure.git
-
Navigate to the cloned repository:
cd infrastructure
-
Run the
prerun.sh
script to create the required external volumes and network:./prerun.sh
-
Run Docker Compose to start the services:
docker-compose up -d
-
Access the services using the following URLs:
- PostgreSQL: http://localhost:5432
- pgAdmin: http://localhost:85
- Keycloak: http://localhost:8080
The docker-compose.yml
file defines the services and their configurations.
-
The services will automatically restart if the containers are stopped or the system restarts, ensuring continuous availability.
-
Ensure that the Docker volumes
dspostgres
anddspgadmin
are external or persisted to avoid data loss.
Contributions are welcome! Please feel free to submit issues or pull requests for any improvements or enhancements to the infrastructure setup.
This project is licensed under the MIT License.