docker deleted
This commit is contained in:
parent
c0095480e9
commit
837d07ff12
14 changed files with 0 additions and 90 deletions
31
Dockerfile
31
Dockerfile
|
@ -1,31 +0,0 @@
|
||||||
FROM php:8.3-apache
|
|
||||||
|
|
||||||
EXPOSE 80
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
HEALTHCHECK --interval=1m --timeout=3s --start-period=5s --start-interval=1s --retries=3 \
|
|
||||||
CMD curl -f http://localhost/_health || exit 1
|
|
||||||
|
|
||||||
# git, unzip & zip are for composer
|
|
||||||
RUN apt-get update -qq && \
|
|
||||||
apt-get install -qy \
|
|
||||||
git \
|
|
||||||
gnupg \
|
|
||||||
unzip \
|
|
||||||
zlib1g \
|
|
||||||
zip && \
|
|
||||||
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*
|
|
||||||
|
|
||||||
# PHP Extensions
|
|
||||||
RUN docker-php-ext-install -j$(nproc) bcmath
|
|
||||||
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini
|
|
||||||
|
|
||||||
# Apache
|
|
||||||
COPY --link errors /errors
|
|
||||||
COPY --link health.php /health/index.php
|
|
||||||
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
|
|
||||||
COPY --link conf/apache.conf /etc/apache2/conf-available/z-ambient.conf
|
|
||||||
COPY --link /src /app
|
|
||||||
|
|
||||||
RUN a2enmod rewrite remoteip && \
|
|
||||||
a2enconf z-ambient
|
|
Before Width: | Height: | Size: 326 KiB After Width: | Height: | Size: 326 KiB |
Before Width: | Height: | Size: 461 KiB After Width: | Height: | Size: 461 KiB |
|
@ -1,19 +0,0 @@
|
||||||
<Directory /app/>
|
|
||||||
Options -Indexes +FollowSymLinks
|
|
||||||
AllowOverride None
|
|
||||||
Require all granted
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
ServerTokens Prod
|
|
||||||
ServerSignature Off
|
|
||||||
|
|
||||||
<Directory /errors/>
|
|
||||||
Options -Indexes
|
|
||||||
AllowOverride None
|
|
||||||
Require all granted
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
Alias /_errors/ /errors/
|
|
||||||
ErrorDocument 404 /_errors/404.html
|
|
||||||
ErrorDocument 403 /_errors/403.html
|
|
||||||
ErrorDocument 500 /_errors/500.html
|
|
17
conf/php.ini
17
conf/php.ini
|
@ -1,17 +0,0 @@
|
||||||
date.timezone = Europe/Paris
|
|
||||||
|
|
||||||
opcache.enable = 1
|
|
||||||
opcache.enable_cli = 1
|
|
||||||
opcache.memory_consumption = 128
|
|
||||||
opcache.revalidate_freq = 0
|
|
||||||
apc.enable_cli = On
|
|
||||||
|
|
||||||
upload_max_filesize = 16M
|
|
||||||
post_max_size = 16M
|
|
||||||
|
|
||||||
realpath_cache_size = 4096k
|
|
||||||
realpath_cache_ttl = 7200
|
|
||||||
|
|
||||||
display_errors = Off
|
|
||||||
display_startup_errors = Off
|
|
||||||
error_log = /proc/self/fd/2
|
|
|
@ -1,8 +0,0 @@
|
||||||
<VirtualHost *:80>
|
|
||||||
ServerAdmin contact@colmaris.fr
|
|
||||||
|
|
||||||
DocumentRoot /app
|
|
||||||
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
||||||
</VirtualHost>
|
|
|
@ -1,15 +0,0 @@
|
||||||
name: ambient
|
|
||||||
services:
|
|
||||||
web:
|
|
||||||
image: nginx:latest
|
|
||||||
ports:
|
|
||||||
- '8080:80'
|
|
||||||
volumes:
|
|
||||||
- ./src:/var/www/html
|
|
||||||
- ./default.conf:/etc/nginx/conf.d/default.conf
|
|
||||||
links:
|
|
||||||
- php-fpm
|
|
||||||
php-fpm:
|
|
||||||
image: php:8-fpm
|
|
||||||
volumes:
|
|
||||||
- ./src:/var/www/html
|
|
BIN
src/master.zip
BIN
src/master.zip
Binary file not shown.
BIN
src/music/.DS_Store
vendored
BIN
src/music/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue