Initial commit

This commit is contained in:
root
2020-08-17 19:16:42 -04:00
commit 61584e0eb2
600 changed files with 50518 additions and 0 deletions

17
lotgd-web/Dockerfile Executable file
View File

@ -0,0 +1,17 @@
#This image is the NGINX webserver that holds the LotGD PHP files and connects to the DB and PHP containers
FROM nginx:alpine
MAINTAINER Chris P
#Copies the game's PHP files to the container
COPY lotgd /var/www/lotgd
#Removes the default NGINX config (otherwise localhost won't work)
RUN rm /etc/nginx/conf.d/default.conf
#Copies in the pre-configured lotgd config
COPY lotgd.conf /etc/nginx/conf.d/lotgd.conf
#Port 443 is exposed in case one wants to use SSL, but there is no cert, reverse proxy is advised
EXPOSE 80
EXPOSE 443