First commit of the V2.

New base, new info.
This commit is contained in:
2019-04-18 00:58:59 +02:00
parent 698b6dd865
commit 31d5f7ade4
185 changed files with 32824 additions and 0 deletions

9
nginx/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM nginx:latest
ADD nginx.conf /etc/nginx/nginx.conf
RUN mkdir /var/www/static
WORKDIR /var/www/static
ADD /static /var/www/static
RUN chown -R nginx:nginx /var/www/static

28
nginx/nginx.conf Normal file
View File

@ -0,0 +1,28 @@
user nginx;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
client_max_body_size 100M;
server {
listen 80;
server_name localhost;
charset utf-8;
location /static/ {
alias /var/www/static;
}
location / {
proxy_pass http://web:8000;
}
}
}