🏗️」 wip: nginx and modsec working

This commit is contained in:
2025-07-16 13:46:39 +02:00
parent 86c740b284
commit a92100b7c0
8 changed files with 141 additions and 24 deletions

View File

@ -21,13 +21,23 @@
# To build the base of the for the fastify docker images
@build-node-base:
docker build -t node-base -f docker/node-base/Dockerfile .
docker build -t node-base -f docker/api-base/Dockerfile .
@docker: build-node-base
docker compose -f docker/docker-compose.yml up -d user-api --build
# To launch the docker compose
@docker:
docker compose -f docker/docker-compose.yml up -d --build
@clean-docker:
# To stop the docker compose
@stop-docker:
docker compose -f docker/docker-compose.yml down
# To rebuild fully the docker (use it with caution)
@re-docker: clean-docker docker
# To completely docker
@clean-docker: clean-compose
docker system prune -af
@clean-compose:
# To clean only the container launched by the compose
@clean-compose: stop-docker
docker compose -f docker/docker-compose.yml rm