Téléverser les fichiers vers "docker"

C:\DevOpsProject\docker
This commit is contained in:
2026-01-23 13:31:45 +00:00
commit ec3b72f62c
4 changed files with 205 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
services:
nginx:
image: nginx:latest
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- C:\DevOpsProject\kubernetes\manifests\nginx\nginx.conf:/etc/nginx/nginx.conf:ro
- C:\DevOpsProject\kubernetes\manifests\nginx\certs:/etc/nginx/certs:ro
depends_on:
- app
networks:
- devops-network
command: nginx -g "daemon off;"
networks:
devops-network:
external: true