diff --git a/.DS_Store b/.DS_Store index 6522628..4d2bf23 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/src/.htaccess b/.htaccess similarity index 100% rename from src/.htaccess rename to .htaccess diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 9502c33..0000000 --- a/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -# Utiliser une image de base officielle de PHP avec FPM (FastCGI Process Manager) -FROM php:8.1-fpm - -# Installer les dépendances nécessaires pour PHP -RUN apt-get update && apt-get install -y \ - libfreetype6-dev \ - libjpeg62-turbo-dev \ - libpng-dev \ - libzip-dev \ - && docker-php-ext-configure gd --with-freetype --with-jpeg \ - && docker-php-ext-install -j$(nproc) gd \ - && docker-php-ext-install zip - -# Copier le code source de l'application PHP dans le conteneur -COPY ./src /var/www/html - -# Définir le répertoire de travail -WORKDIR /var/www/html - -# Exposer le port 9000 pour PHP-FPM -EXPOSE 9000 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/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index addbd6b..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,19 +0,0 @@ -services: - php: - build: - context: . - dockerfile: /docker/Dockerfile - volumes: - - .:/var/www/html - expose: - - "9000" - - nginx: - image: nginx:alpine - volumes: - - .:/var/www/html - - ./nginx.conf:/etc/nginx/conf.d/default.conf - ports: - - "80:80" - depends_on: - - php diff --git a/docker/nginx.conf b/docker/nginx.conf deleted file mode 100644 index 1c48768..0000000 --- a/docker/nginx.conf +++ /dev/null @@ -1,22 +0,0 @@ -server { - listen 80; - server_name localhost; - - root /var/www/html; - index index.php index.html; - - location / { - try_files $uri $uri/ =404; - } - - location ~ \.php$ { - include fastcgi_params; - fastcgi_pass php:9000; - fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - } - - location ~ /\.ht { - deny all; - } -} 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/xspf_playlist.php b/xspf_playlist.php similarity index 100% rename from src/xspf_playlist.php rename to xspf_playlist.php