-
-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
NGINX__CONTAINER_NAME='nginx' | ||
NGINX__ENABLED='false' | ||
NGINX__NETWORK_MODE='' | ||
NGINX__PORT_443='443' | ||
NGINX__PORT_80='80' | ||
NGINX__RESTART='unless-stopped' | ||
NGINX__TAG='latest' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
services: | ||
nginx: | ||
image: lscr.io/linuxserver/nginx:${nginx__TAG} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
${DOCKER_VOLUME_CONFIG}/nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
services: | ||
nginx: | ||
hostname: ${DOCKER_HOSTNAME} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
services: | ||
nginx: | ||
labels: | ||
com.dockstarter.appinfo.deprecated: "false" | ||
com.dockstarter.appinfo.description: "Simple webserver with php support" | ||
com.dockstarter.appinfo.nicename: "Nginx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## | ||
## NGINX - .env | ||
## | ||
NGINX__CONTAINER_NAME NGINX_CONTAINER_NAME | ||
NGINX__ENABLED NGINX_ENABLED | ||
NGINX__NETWORK_MODE NGINX_NETWORK_MODE | ||
NGINX__PORT_443 NGINX_PORT_443 | ||
NGINX__PORT_80 NGINX_PORT_80 | ||
NGINX__RESTART NGINX_RESTART | ||
NGINX__TAG NGINX_TAG | ||
## | ||
## NGINX - nginx.env | ||
## | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
services: | ||
nginx: | ||
network_mode: ${NGINX__NETWORK_MODE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
services: | ||
nginx: | ||
ports: | ||
- ${NGINX__PORT_443}:443 | ||
- ${NGINX__PORT_80}:80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
services: | ||
nginx: | ||
image: lscr.io/linuxserver/nginx:${NGINX__TAG} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
services: | ||
nginx: | ||
container_name: ${NGINX__CONTAINER_NAME} | ||
env_file: env_files/nginx.env | ||
environment: | ||
- PGID=${PGID} | ||
- PUID=${PUID} | ||
- TZ=${TZ} | ||
restart: ${NGINX__RESTART} | ||
volumes: | ||
- /etc/localtime:/etc/localtime:ro | ||
- ${DOCKER_VOLUME_CONFIG}/nginx:/config | ||
- ${DOCKER_VOLUME_STORAGE}:/storage |