This project aims to provide a hands on cloud native solution for personal contact management.
All services are running behind an Nginx reverse proxy. The individual service ports are not directly exposed to the host machine. Which help us to manage our environment.
The default configuration pulls backend and frontend images from Docker Hub. If you want to use a locally built version of the images, you can modify the image references to point to your local versions.
By defaul nginx using port
80
. In order to change that you need to editnginx/conf.d/defaul.conf
and nginx service indocker-compose.yml
.
# Clone the repository
git clone https://github.com/mehmetumit/address-book.git
# Change directory
cd address-book
# Set default .env
cp .env.template .env
# Initialize containers
docker-compose up -d
- Web client:
http://localhost
- Grafana:
http://localhost/grafana
- Prometheus server:
http://localhost/prometheus
- Backend API:
http://localhost/api/v1
- Backend OpenAPI Doc:
http://localhost/api/v1/doc