1
0
mirror of https://github.com/dcarrillo/docker-nginx.git synced 2025-11-20 03:12:36 +00:00

Bump nginx to 1.29.3 and refactor the building/testing

This commit is contained in:
2025-11-05 17:29:37 +01:00
parent 0e36c5ba23
commit 2926640687
9 changed files with 65 additions and 112 deletions

14
tests/docker-compose.yml Normal file
View File

@@ -0,0 +1,14 @@
services:
nginx:
build:
context: ..
args:
ARG_NGINX_VERSION: ${NGINX_VERSION}
volumes:
- ./nginx.conf:/usr/local/nginx/conf/nginx.conf:ro
- /tmp/nginx-ssl/cert.pem:/tmp/cert.pem:ro
- /tmp/nginx-ssl/cert.key:/tmp/cert.key:ro
- /tmp/nginx-ssl/dhparams.pem:/tmp/dhparams.pem:ro
ports:
- 80:80
- 443:443