mirror of
https://github.com/Thumbscrew/nginx-docker-compose.git
synced 2025-01-18 09:35:45 +00:00
add customisable Nginx tag
This commit is contained in:
parent
a698754dcd
commit
968bf5dbe7
@ -1,3 +1,4 @@
|
|||||||
FROM nginx:stable
|
ARG NGINX_TAG
|
||||||
|
FROM nginx:${NGINX_TAG}
|
||||||
|
|
||||||
COPY ./includes/ /etc/nginx/includes
|
COPY ./includes/ /etc/nginx/includes
|
@ -4,7 +4,10 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
build: ./
|
build:
|
||||||
|
context: ./
|
||||||
|
args:
|
||||||
|
NGINX_TAG: ${NGINX_TAG-stable}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
Loading…
Reference in New Issue
Block a user