Skip to content

rsayed007/CICD-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CICD Manager

Installation

1️⃣ Build the Project

Build and start all Docker containers:

docker compose up -d --build

2️⃣ Change Nginx Password (Optional)

To set or update the Nginx HTTP basic auth password:

docker run --rm httpd:alpine htpasswd -nbB <username> <password> > ./docker/nginx/.htpasswd

Replace <username> and <password> with your desired credentials.

After updating the password, restart the Nginx container:

docker compose restart nginx

3️⃣ Enter the Application Container

After building the project, enter the app container for initial setup:

docker compose exec app bash

Inside the container, you can run regular Laravel commands, for example:

php artisan migrate
php artisan db:seed
php artisan config:cache

Exit the container anytime by typing:

exit

4️⃣ Troubleshooting

Permission Denied Error

If you see a permission error when running Docker commands, add your user to the docker group:

sudo usermod -aG docker $USER
newgrp docker

Then try again:

docker compose up -d --build

Notes

  • Use docker compose (v2 syntax) instead of docker-compose (deprecated).
  • Always restart Nginx after changing the .htpasswd file.
  • Commands inside the container should be run as needed for Laravel setup.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors