Skip to content

Commit b46626b

Browse files
committed
Facilitator files
1 parent beca1ec commit b46626b

File tree

3 files changed

+85
-0
lines changed

3 files changed

+85
-0
lines changed

_facilitator/docker-compose.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
services:
2+
nginx:
3+
image: nginx:1-alpine
4+
ports:
5+
- 80:80
6+
volumes:
7+
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
8+
- ./src:/usr/share/nginx/html:ro

_facilitator/nginx/nginx.conf

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
user nginx;
2+
worker_processes auto;
3+
4+
events {
5+
worker_connections 1024;
6+
}
7+
8+
http {
9+
include /etc/nginx/mime.types;
10+
default_type application/octet-stream;
11+
12+
# Performance Tuning
13+
sendfile on;
14+
tcp_nopush on;
15+
tcp_nodelay on;
16+
keepalive_timeout 65;
17+
18+
# Allow larger downloads without timing out
19+
client_body_timeout 300s;
20+
send_timeout 300s;
21+
22+
server {
23+
listen 80;
24+
server_name localhost;
25+
26+
location / {
27+
root /usr/share/nginx/html;
28+
index index.html index.htm;
29+
}
30+
}
31+
}

_facilitator/src/index.html

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<!doctype html>
2+
<html lang="en" class="h-100">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<title>Daemon Labs</title>
8+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
9+
integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
10+
</head>
11+
12+
<body class="h-100 bg-light d-flex align-items-center">
13+
<main class="container d-flex justify-content-center">
14+
<div class="card text-center w-50">
15+
<div class="card-body p-5">
16+
<img src="https://avatars.githubusercontent.com/u/233928706?s=200&v=4">
17+
<h1 class="card-title mb-3">Daemon Labs</h1>
18+
<h2 class="card-title">Workshop Assets</h2>
19+
<hr>
20+
<div class="d-grid">
21+
<a href="./workshop-images.tar" class="btn btn-primary rounded-pill mb-2">Download Docker images
22+
(.tar)</a>
23+
</div>
24+
<small class="text-muted">Size: ~2.0 GB</small>
25+
<hr>
26+
<div class="d-grid">
27+
<a href="https://github.com/daemon-labs-resources/docker-local-aws-lambda" target="_blank"
28+
class="btn btn-secondary rounded-pill">Open workshop documentation</a>
29+
<!-- <small class="text-muted">https://github.com/daemon-labs-resources/docker-local-aws-lambda</small> -->
30+
</div>
31+
<hr>
32+
<div class="d-grid">
33+
<a href="https://github.com/daemon-labs-resources/docker-local-aws-lambda" target="_blank"
34+
class="btn btn-secondary rounded-pill mb-2">Send feedback</a>
35+
<!-- <small class="text-muted">https://github.com/daemon-labs-resources/docker-local-aws-lambda</small> -->
36+
</div>
37+
</div>
38+
</div>
39+
</main>
40+
41+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
42+
integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI"
43+
crossorigin="anonymous"></script>
44+
</body>
45+
46+
</html>

0 commit comments

Comments
 (0)