Skip to content

Commit 9043bc7

Browse files
committed
UPDATE: Makefile(nginx)
1 parent a4dfda2 commit 9043bc7

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

Makefile

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,23 @@ mysql_docker_restart:
204204

205205
# Connect to the MySQL container
206206
mysql_shell:
207-
docker-compose exec mysql bash
207+
docker-compose exec mysql bash
208+
209+
# Nginx Commands
210+
#-------------------------------------------------
211+
212+
# Start the Nginx service in Docker
213+
nginx_docker_start:
214+
docker-compose start nginx
215+
216+
# Stop the Nginx service in Docker
217+
nginx_docker_stop:
218+
docker-compose stop nginx
219+
220+
# Restart the Nginx service in Docker
221+
nginx_docker_restart:
222+
docker-compose restart nginx
223+
224+
# Connect to the Nginx container
225+
nginx_shell:
226+
docker-compose exec nginx sh

0 commit comments

Comments
 (0)