@@ -6,78 +6,127 @@ project_url: "https://nginx.org/"
66project_logo : " https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/nginx-banner.png"
77project_blurb : " [{{ project_name|capitalize }}]({{ project_url }}) is a simple webserver with php support. The config files reside in `/config` for easy user customization."
88project_lsio_github_repo_url : " https://github.com/linuxserver/docker-{{ project_name }}"
9-
109# supported architectures
1110available_architectures :
12- - { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
13- - { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
14-
11+ - {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
12+ - {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
1513# container parameters
1614common_param_env_vars_enabled : true
1715param_container_name : " {{ project_name }}"
1816param_usage_include_vols : true
1917param_volumes :
20- - { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files" }
18+ - {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files"}
2119param_usage_include_ports : true
2220param_ports :
23- - { external_port: "80", internal_port: "80", port_desc: "http" }
24- - { external_port: "443", internal_port: "443", port_desc: "https" }
25-
21+ - {external_port: "80", internal_port: "80", port_desc: "http"}
22+ - {external_port: "443", internal_port: "443", port_desc: "https"}
2623# application setup block
2724app_setup_block_enabled : true
2825app_setup_block : |
2926 Add your web files to `/config/www` for hosting.
3027 Modify the nginx, php and site config files under `/config` as needed
31-
28+ # init diagram
29+ init_diagram : |
30+ "nginx:latest": {
31+ docker-mods
32+ base {
33+ fix-attr +\nlegacy cont-init
34+ }
35+ docker-mods -> base
36+ legacy-services
37+ custom services
38+ init-services -> legacy-services
39+ init-services -> custom services
40+ custom services -> legacy-services
41+ legacy-services -> ci-service-check
42+ init-migrations -> init-adduser
43+ init-nginx-end -> init-config
44+ init-os-end -> init-config
45+ init-config -> init-config-end
46+ init-os-end -> init-crontab-config
47+ init-mods-end -> init-custom-files
48+ base -> init-envfile
49+ init-os-end -> init-folders
50+ init-php -> init-keygen
51+ base -> init-migrations
52+ base -> init-mods
53+ init-config-end -> init-mods
54+ init-version-checks -> init-mods
55+ init-mods -> init-mods-end
56+ init-mods-package-install -> init-mods-end
57+ init-mods -> init-mods-package-install
58+ init-samples -> init-nginx
59+ init-permissions -> init-nginx-end
60+ base -> init-os-end
61+ init-adduser -> init-os-end
62+ init-envfile -> init-os-end
63+ init-migrations -> init-os-end
64+ init-keygen -> init-permissions
65+ init-nginx -> init-php
66+ init-folders -> init-samples
67+ init-custom-files -> init-services
68+ init-mods-end -> init-services
69+ init-config-end -> init-version-checks
70+ init-services -> svc-cron
71+ svc-cron -> legacy-services
72+ init-services -> svc-nginx
73+ svc-nginx -> legacy-services
74+ init-services -> svc-php-fpm
75+ svc-php-fpm -> legacy-services
76+ }
77+ Base Images: {
78+ "baseimage-alpine-nginx:3.20" <- "baseimage-alpine:3.20"
79+ }
80+ "nginx:latest" <- Base Images
3281# changelog
3382changelogs :
34- - { date: "31.05.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
35- - { date: "05.03.24:", desc: "Rebase to Alpine 3.19 with php 8.3."}
36- - { date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }
37- - { date: "16.01.23:", desc: "Remove nchan module because it keeps causing crashes." }
38- - { date: "22.12.22:", desc: "Rebase to Alpine 3.17 with PHP 8.1, migrate to s6v3." }
39- - { date: "20.08.22:", desc: "Rebasing to alpine 3.15 with php8. Restructure nginx configs ([see changes announcement](https://info.linuxserver.io/issues/2022-08-20-nginx-base))." }
40- - { date: "22.05.22:", desc: "Install nginx version from 3.14." }
41- - { date: "01.07.21:", desc: "Rebasing to alpine 3.14." }
42- - { date: "24.06.21:", desc: "Update default nginx conf folder." }
43- - { date: "12.04.21:", desc: "Add php7-gmp and php7-pecl-mailparse." }
44- - { date: "13.02.21:", desc: "Remove php7-pecl-imagick (it now installs the full imagemagick with too much crud). Users can install it via [this docker mod](https://github.com/linuxserver/docker-mods/tree/swag-imagemagick)." }
45- - { date: "09.02.21:", desc: "Rebasing to alpine 3.13. Add nginx mods brotli and dav-ext. Remove nginx mods lua and lua-upstream (due to regression over the last couple of years)." }
46- - { date: "08.09.20:", desc: "Add php7-xsl." }
47- - { date: "01.06.20:", desc: "Rebasing to alpine 3.12." }
48- - { date: "18.04.20:", desc: "Fix unwanted shutdown of the container." }
49- - { date: "11.03.20:", desc: "Add php7-sodium." }
50- - { date: "18.02.20:", desc: "Add geoip2, suppress lua warning." }
51- - { date: "19.12.19:", desc: "Rebasing to alpine 3.11." }
52- - { date: "18.12.19:", desc: "Add php7-imap and php7-pecl-apcu." }
53- - { date: "13.11.19:", desc: "Add php7-pdo_odbc." }
54- - { date: "24.10.19:", desc: "Add php7-pecl-imagick." }
55- - { date: "06.08.19:", desc: "Add php7-bcmath, ph7-pear, php7-xmlrpc and php7-ftp." }
56- - { date: "02.08.19:", desc: "Add php7-ldap." }
57- - { date: "28.06.19:", desc: "Rebasing to alpine 3.10." }
58- - { date: "08.05.19:", desc: "Remove default.conf when nginx is upgraded in downstream image." }
59- - { date: "30.04.19:", desc: "Add php-redis." }
60- - { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." }
61- - { date: "02.03.19:", desc: "Add php intl and posix modules." }
62- - { date: "28.02.19:", desc: "Add php7-opcache, remove memcached service due to issues on aarch64 (let us know if you need to enable it)." }
63- - { date: "22.02.19:", desc: "Rebasing to alpine 3.9." }
64- - { date: "18.11.18:", desc: "Attempt to upgrade packages during build." }
65- - { date: "28.09.18:", desc: "Multi-arch image." }
66- - { date: "17.08.18:", desc: "Rebase to alpine 3.8, inherit nginx.conf from nginx baseimage." }
67- - { date: "11.05.18:", desc: "Add php pgsql support." }
68- - { date: "19.04.18:", desc: "Bind memcached to localhost only, add php7-sqlite3." }
69- - { date: "05.01.18:", desc: "Rebase to alpine 3.7." }
70- - { date: "08.11.17:", desc: "Add php7 soap module." }
71- - { date: "31.10.17:", desc: "Add php7 exif and xmlreader modules." }
72- - { date: "30.09.17:", desc: "Copy additional root files into image." }
73- - { date: "24.09.17:", desc: "Add memcached service." }
74- - { date: "31.08.17:", desc: "Add php7-phar." }
75- - { date: "14.07.17:", desc: "Enable modules dynamically in nginx.conf." }
76- - { date: "22.06.17:", desc: "Add various nginx modules and enable all modules in the default nginx.conf." }
77- - { date: "05.06.17:", desc: "Add php7-bz2." }
78- - { date: "25.05.17:", desc: "Rebase to alpine 3.6." }
79- - { date: "18.04.17:", desc: "Add php7-sockets." }
80- - { date: "27.02.17:", desc: "Rebase to alpine 3.5, update to nginx 1.10.2 and php7." }
81- - { date: "14.10.16:", desc: "Add version layer information." }
82- - { date: "10.09.16:", desc: "Add badges to README." }
83- - { date: "05.12.15:", desc: "Intial Release." }
83+ - {date: "31.05.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
84+ - {date: "05.03.24:", desc: "Rebase to Alpine 3.19 with php 8.3."}
85+ - {date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf."}
86+ - {date: "16.01.23:", desc: "Remove nchan module because it keeps causing crashes."}
87+ - {date: "22.12.22:", desc: "Rebase to Alpine 3.17 with PHP 8.1, migrate to s6v3."}
88+ - {date: "20.08.22:", desc: "Rebasing to alpine 3.15 with php8. Restructure nginx configs ([see changes announcement](https://info.linuxserver.io/issues/2022-08-20-nginx-base))."}
89+ - {date: "22.05.22:", desc: "Install nginx version from 3.14."}
90+ - {date: "01.07.21:", desc: "Rebasing to alpine 3.14."}
91+ - {date: "24.06.21:", desc: "Update default nginx conf folder."}
92+ - {date: "12.04.21:", desc: "Add php7-gmp and php7-pecl-mailparse."}
93+ - {date: "13.02.21:", desc: "Remove php7-pecl-imagick (it now installs the full imagemagick with too much crud). Users can install it via [this docker mod](https://github.com/linuxserver/docker-mods/tree/swag-imagemagick)."}
94+ - {date: "09.02.21:", desc: "Rebasing to alpine 3.13. Add nginx mods brotli and dav-ext. Remove nginx mods lua and lua-upstream (due to regression over the last couple of years)."}
95+ - {date: "08.09.20:", desc: "Add php7-xsl."}
96+ - {date: "01.06.20:", desc: "Rebasing to alpine 3.12."}
97+ - {date: "18.04.20:", desc: "Fix unwanted shutdown of the container."}
98+ - {date: "11.03.20:", desc: "Add php7-sodium."}
99+ - {date: "18.02.20:", desc: "Add geoip2, suppress lua warning."}
100+ - {date: "19.12.19:", desc: "Rebasing to alpine 3.11."}
101+ - {date: "18.12.19:", desc: "Add php7-imap and php7-pecl-apcu."}
102+ - {date: "13.11.19:", desc: "Add php7-pdo_odbc."}
103+ - {date: "24.10.19:", desc: "Add php7-pecl-imagick."}
104+ - {date: "06.08.19:", desc: "Add php7-bcmath, ph7-pear, php7-xmlrpc and php7-ftp."}
105+ - {date: "02.08.19:", desc: "Add php7-ldap."}
106+ - {date: "28.06.19:", desc: "Rebasing to alpine 3.10."}
107+ - {date: "08.05.19:", desc: "Remove default.conf when nginx is upgraded in downstream image."}
108+ - {date: "30.04.19:", desc: "Add php-redis."}
109+ - {date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag."}
110+ - {date: "02.03.19:", desc: "Add php intl and posix modules."}
111+ - {date: "28.02.19:", desc: "Add php7-opcache, remove memcached service due to issues on aarch64 (let us know if you need to enable it)."}
112+ - {date: "22.02.19:", desc: "Rebasing to alpine 3.9."}
113+ - {date: "18.11.18:", desc: "Attempt to upgrade packages during build."}
114+ - {date: "28.09.18:", desc: "Multi-arch image."}
115+ - {date: "17.08.18:", desc: "Rebase to alpine 3.8, inherit nginx.conf from nginx baseimage."}
116+ - {date: "11.05.18:", desc: "Add php pgsql support."}
117+ - {date: "19.04.18:", desc: "Bind memcached to localhost only, add php7-sqlite3."}
118+ - {date: "05.01.18:", desc: "Rebase to alpine 3.7."}
119+ - {date: "08.11.17:", desc: "Add php7 soap module."}
120+ - {date: "31.10.17:", desc: "Add php7 exif and xmlreader modules."}
121+ - {date: "30.09.17:", desc: "Copy additional root files into image."}
122+ - {date: "24.09.17:", desc: "Add memcached service."}
123+ - {date: "31.08.17:", desc: "Add php7-phar."}
124+ - {date: "14.07.17:", desc: "Enable modules dynamically in nginx.conf."}
125+ - {date: "22.06.17:", desc: "Add various nginx modules and enable all modules in the default nginx.conf."}
126+ - {date: "05.06.17:", desc: "Add php7-bz2."}
127+ - {date: "25.05.17:", desc: "Rebase to alpine 3.6."}
128+ - {date: "18.04.17:", desc: "Add php7-sockets."}
129+ - {date: "27.02.17:", desc: "Rebase to alpine 3.5, update to nginx 1.10.2 and php7."}
130+ - {date: "14.10.16:", desc: "Add version layer information."}
131+ - {date: "10.09.16:", desc: "Add badges to README."}
132+ - {date: "05.12.15:", desc: "Intial Release."}
0 commit comments