Add doc
26
doc/doc-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
version: "3.3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
nginx:
|
||||||
|
image: nginx:stable-alpine
|
||||||
|
volumes:
|
||||||
|
- ./doc:/usr/share/nginx/html
|
||||||
|
- ./nginx-doc.conf:/etc/nginx/conf.d/default.conf
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.doc.rule=Host(`doc.trustai.uk`)"
|
||||||
|
- "traefik.http.routers.doc.entrypoints=web"
|
||||||
|
- "traefik.http.services.doc.loadbalancer.server.port=80"
|
||||||
|
# TLS
|
||||||
|
- "traefik.http.routers.docs.rule=Host(`doc.trustai.uk`)"
|
||||||
|
- "traefik.http.routers.docs.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.docs.tls.certresolver=myhttpchallenge"
|
||||||
|
# Redirect
|
||||||
|
- "traefik.http.routers.doc.middlewares=https_redirect"
|
||||||
|
- "traefik.http.middlewares.https_redirect.redirectscheme.scheme=https"
|
||||||
|
networks:
|
||||||
|
- traefik-public
|
||||||
|
networks:
|
||||||
|
traefik-public:
|
||||||
|
external: true
|
||||||
BIN
doc/doc/workshop-1/doc/a_star.png
Normal file
|
After Width: | Height: | Size: 139 KiB |
BIN
doc/doc/workshop-1/doc/maze.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
doc/doc/workshop-1/doc/maze25d.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
doc/doc/workshop-1/doc/maze2d-large.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
doc/doc/workshop-1/doc/maze2d-small.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
doc/doc/workshop-1/doc/maze3d.png
Normal file
|
After Width: | Height: | Size: 1018 KiB |
BIN
doc/doc/workshop-1/doc/neighbor.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
doc/doc/workshop-1/doc/robot-maze.mp4
Normal file
BIN
doc/doc/workshop-1/doc/search.gif
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
doc/doc/workshop-1/doc/solution.gif
Normal file
|
After Width: | Height: | Size: 846 KiB |
13933
doc/doc/workshop-1/workshop-1.html
Normal file
13
doc/nginx-doc.conf
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
server{
|
||||||
|
listen 80;
|
||||||
|
server_name _;
|
||||||
|
real_ip_header X-Forwarded-For;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Host $server_name;
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html;
|
||||||
|
autoindex on;
|
||||||
|
}
|
||||||
|
|
||||||