Skip to content

Commit

Permalink
Add app NGINX`
Browse files Browse the repository at this point in the history
  • Loading branch information
CLHatch committed Feb 18, 2025
1 parent 9c15be8 commit 0275f75
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 0 deletions.
7 changes: 7 additions & 0 deletions compose/.apps/nginx/.env
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'
3 changes: 3 additions & 0 deletions compose/.apps/nginx/nginx.aarch64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
services:
nginx:
image: lscr.io/linuxserver/nginx:${nginx__TAG}
1 change: 1 addition & 0 deletions compose/.apps/nginx/nginx.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions compose/.apps/nginx/nginx.folders
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${DOCKER_VOLUME_CONFIG}/nginx
3 changes: 3 additions & 0 deletions compose/.apps/nginx/nginx.hostname.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
services:
nginx:
hostname: ${DOCKER_HOSTNAME}
6 changes: 6 additions & 0 deletions compose/.apps/nginx/nginx.labels.yml
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"
14 changes: 14 additions & 0 deletions compose/.apps/nginx/nginx.migrate
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
##

3 changes: 3 additions & 0 deletions compose/.apps/nginx/nginx.netmode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
services:
nginx:
network_mode: ${NGINX__NETWORK_MODE}
5 changes: 5 additions & 0 deletions compose/.apps/nginx/nginx.ports.yml
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
3 changes: 3 additions & 0 deletions compose/.apps/nginx/nginx.x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
services:
nginx:
image: lscr.io/linuxserver/nginx:${NGINX__TAG}
13 changes: 13 additions & 0 deletions compose/.apps/nginx/nginx.yml
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

0 comments on commit 0275f75

Please sign in to comment.