add supervisor to nineapache

This commit is contained in:
afornerot 2024-12-29 11:46:47 +01:00
parent 8dbcfd0433
commit ea54b12e59
7 changed files with 46 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,7 +1,7 @@
**/.env.local **/.env.local
**/.env.merge **/.env.merge
docker-compose.yml /docker-compose.yml
/services/10-nineapache/volume /services/10-nineapache/volume

View File

@ -13,7 +13,8 @@ RUN apk add --no-cache \
unzip \ unzip \
zip \ zip \
openssl \ openssl \
mariadb-client mariadb-client \
supervisor
RUN apk add --no-cache \ RUN apk add --no-cache \
apache2 \ apache2 \
@ -58,6 +59,8 @@ RUN curl -sS https://getcomposer.org/installer | php -- --1 --install-dir=/usr/l
RUN npm install -g n RUN npm install -g n
RUN npm install -g yarn RUN npm install -g yarn
RUN mkdir /etc/supervisor.d
COPY apache2.sh /etc/apache2/apache2.sh COPY apache2.sh /etc/apache2/apache2.sh
RUN chmod +x /etc/apache2/apache2.sh RUN chmod +x /etc/apache2/apache2.sh
COPY php.local.ini /etc/php7/conf.d/ COPY php.local.ini /etc/php7/conf.d/

View File

@ -0,0 +1,11 @@
version: '3'
services:
nineapache74:
build:
context: ./containers/nineapache
image: reg.cadoles.com/envole/nineapache74
container_name: nineapache74
ports:
- "8080:80"
- "8443:443"

View File

@ -15,7 +15,8 @@ RUN apk add --no-cache \
openssl \ openssl \
mariadb-client \ mariadb-client \
certbot \ certbot \
gettext gettext \
supervisor
RUN apk add --no-cache \ RUN apk add --no-cache \
apache2 \ apache2 \
@ -61,6 +62,8 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
RUN npm install -g n RUN npm install -g n
RUN npm install -g yarn RUN npm install -g yarn
RUN mkdir /etc/supervisor.d
COPY apache2.sh /etc/apache2/apache2.sh COPY apache2.sh /etc/apache2/apache2.sh
RUN chmod +x /etc/apache2/apache2.sh RUN chmod +x /etc/apache2/apache2.sh
COPY php.local.ini /etc/php81/conf.d/ COPY php.local.ini /etc/php81/conf.d/

View File

@ -0,0 +1,11 @@
version: '3'
services:
nineapache81:
build:
context: ./containers/nineapache
image: reg.cadoles.com/envole/nineapache81
container_name: nineapache81
ports:
- "8080:80"
- "8443:443"

View File

@ -15,7 +15,8 @@ RUN apk add --no-cache \
unzip \ unzip \
zip \ zip \
openssl \ openssl \
mariadb-client mariadb-client \
supervisor
RUN apk add --no-cache \ RUN apk add --no-cache \
apache2 \ apache2 \
@ -64,6 +65,8 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
RUN npm install -g n RUN npm install -g n
RUN npm install -g yarn RUN npm install -g yarn
RUN mkdir /etc/supervisor.d
COPY apache2.sh /etc/apache2/apache2.sh COPY apache2.sh /etc/apache2/apache2.sh
RUN chmod +x /etc/apache2/apache2.sh RUN chmod +x /etc/apache2/apache2.sh
COPY php.local.ini /etc/php82/conf.d/ COPY php.local.ini /etc/php82/conf.d/

View File

@ -0,0 +1,11 @@
version: '3'
services:
nineapache82:
build:
context: ./containers/nineapache
image: reg.cadoles.com/envole/nineapache82
container_name: nineapache82
ports:
- "8080:80"
- "8443:443"