This guide outlines how to set up and start the application using Docker.
- Docker must be installed on your system. If not, follow the instructions at Docker Installation Guide.
-
Clone the repository:
git clone https://github.com/ddmaxon/Prod-DDM-APP.git cd Prod-DDM-APP
-
Adjust configuration files:
- Review the configuration files to ensure they meet your requirements.
- Make any necessary adjustments if needed.
-
Building Docker images:
docker-compose build web
-
Start the application:
docker-compose up -d
The
-d
flag starts the containers in the background. -
Check the status of containers:
docker-compose ps
This displays the status of the running containers.
-
Access the application:
The application should now be accessible at the provided address, usually
localhost
or the host's IP address depending on the configuration. -
Stopping and removing containers:
To stop and remove the containers, execute the following command:
docker-compose down
This will stop and remove all running containers, but it will retain the data unless the
-v
flag is used to remove volumes as well.
- Ensure that the ports specified in the
compose.yml
file are not being used by other applications. - Adjust environment variables in the
compose.yml
file as needed to configure the application.