diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 8a31f87..0000000 --- a/Dockerfile +++ /dev/null @@ -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 diff --git a/src/background-min.jpg b/background-min.jpg similarity index 100% rename from src/background-min.jpg rename to background-min.jpg diff --git a/src/background.jpg b/background.jpg similarity index 100% rename from src/background.jpg rename to background.jpg diff --git a/conf/apache.conf b/conf/apache.conf deleted file mode 100644 index 606d9c6..0000000 --- a/conf/apache.conf +++ /dev/null @@ -1,19 +0,0 @@ - - Options -Indexes +FollowSymLinks - AllowOverride None - Require all granted - - -ServerTokens Prod -ServerSignature Off - - - Options -Indexes - AllowOverride None - Require all granted - - -Alias /_errors/ /errors/ -ErrorDocument 404 /_errors/404.html -ErrorDocument 403 /_errors/403.html -ErrorDocument 500 /_errors/500.html diff --git a/conf/php.ini b/conf/php.ini deleted file mode 100644 index 75371d2..0000000 --- a/conf/php.ini +++ /dev/null @@ -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 diff --git a/conf/vhost.conf b/conf/vhost.conf deleted file mode 100644 index 70f6b62..0000000 --- a/conf/vhost.conf +++ /dev/null @@ -1,8 +0,0 @@ - - ServerAdmin contact@colmaris.fr - - DocumentRoot /app - - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 17fbf55..0000000 --- a/docker-compose.yml +++ /dev/null @@ -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 diff --git a/src/index.html b/index.html similarity index 100% rename from src/index.html rename to index.html diff --git a/src/playlist_gen.php b/playlist_gen.php similarity index 100% rename from src/playlist_gen.php rename to playlist_gen.php diff --git a/src/master.zip b/src/master.zip deleted file mode 100644 index 20697eb..0000000 Binary files a/src/master.zip and /dev/null differ diff --git a/src/music/.DS_Store b/src/music/.DS_Store deleted file mode 100644 index 04a461a..0000000 Binary files a/src/music/.DS_Store and /dev/null differ diff --git a/src/music/._.DS_Store b/src/music/._.DS_Store deleted file mode 100644 index 28c42fb..0000000 Binary files a/src/music/._.DS_Store and /dev/null differ diff --git a/src/music/._Frostpunk b/src/music/._Frostpunk deleted file mode 100644 index b522ad9..0000000 Binary files a/src/music/._Frostpunk and /dev/null differ diff --git a/src/xspf_playlist.php b/xspf_playlist.php similarity index 100% rename from src/xspf_playlist.php rename to xspf_playlist.php