diff --git a/cdn/Dockerfile b/cdn/Dockerfile index 5d23f50..544f8d4 100644 --- a/cdn/Dockerfile +++ b/cdn/Dockerfile @@ -26,6 +26,9 @@ RUN mkdir -p /var/www/html/data && cp -r /app/data/* /var/www/html/data/ # Copy Nginx configuration COPY nginx.conf /etc/nginx/nginx.conf +# Copy the index.html file to the Nginx serving directory +COPY index.html /usr/share/nginx/html/index.html + # Expose port 80 for Nginx EXPOSE 80 diff --git a/cdn/docker-compose.yml b/cdn/docker-compose.yml index 89e7393..5699dd8 100644 --- a/cdn/docker-compose.yml +++ b/cdn/docker-compose.yml @@ -1,5 +1,5 @@ services: - geojson: + cdn: build: . container_name: adventurelog-cdn ports: diff --git a/cdn/index.html b/cdn/index.html new file mode 100644 index 0000000..9715712 --- /dev/null +++ b/cdn/index.html @@ -0,0 +1,89 @@ + + +
+ + ++ This is a content delivery network for the AdventureLog project. You + can browse the content by clicking the button below. +
+ Browse Content ++ AdventureLog is a project that aims to provide a platform for users to + log their adventures and share them with the world. The project is + developed by Sean Morley and is + open source. View it on GitHub here: + AdventureLog. +
++ The data provided in this CDN is sourced from the following + repositories: +
+ +