TeamsModule moved to old repos

This commit is contained in:
Luis Fernando Molina committed 2020-11-20 19:41:19 +01:00
1 parent 2814d4307b
commit 8bf22b6bde
210 files changed

No files matched your search

@@ -0,0 +1,16 @@
# Deploying Algo Community Portal to Linux VM
Using Docker reverse-proxied by Docker-NGINX-LetsEncrypt [base setup](https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion)
In project root:
```
mkdir build
cp tools/docker/deploy.yml build/deploy.yml && \
tools/docker/Dockerfile build/Dockerfile && \
tools/docker/nginx.conf build/nginx.conf && \
npm run build
cd build
docker-compose -f deploy.yml up -d
```
@@ -0,0 +1,5 @@
FROM nginx:1.15.0-alpine
RUN rm -rf /usr/share/nginx/html
COPY --chown=nginx:nginx . /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
@@ -0,0 +1,15 @@
version: '3'
services:
node:
build:
context: ./build
dockerfile: ./build/Dockerfile
environment:
- NODE_ENV=production
- VIRTUAL_HOST=algocommunity.org
- LETSENCRYPT_HOST=algocommunity.org
- LETSENCRYPT_EMAIL=barry@algocommunity.org
- VIRTUAL_PORT=80
container_name: algocommportal
expose:
- 80
@@ -0,0 +1,17 @@
events {}
http {
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location / {
include /etc/nginx/mime.types;
try_files $uri $uri/ /index.html;
}
try_files $uri $uri/ /index.html;
}
}