mirror of
https://github.com/runyanjake/olomana.git
synced 2025-10-05 05:37:29 -07:00
First pass on whitney site
This commit is contained in:
parent
999230645f
commit
236995fc57
1
pws/.gitignore
vendored
Normal file
1
pws/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
docker-compose.yml
|
8
pws/Dockerfile
Normal file
8
pws/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
FROM nginx:alpine
|
||||||
|
|
||||||
|
COPY nginx/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
COPY website /usr/share/nginx/html
|
||||||
|
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
|
CMD ["nginx", "-g", "daemon off;"]
|
8
pws/README.md
Normal file
8
pws/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# PWS
|
||||||
|
|
||||||
|
This is the official landing webpage for Olomana.
|
||||||
|
|
||||||
|
### Run with Docker
|
||||||
|
|
||||||
|
`docker-compose build && docker-compose up -d`
|
||||||
|
|
18
pws/docker-compose_BLANKED.yml
Normal file
18
pws/docker-compose_BLANKED.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
[[TRAEFIK_NETWORK]]:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
web:
|
||||||
|
image: homepage
|
||||||
|
networks:
|
||||||
|
- [[TRAEFIK_NETWORK]]
|
||||||
|
build: .
|
||||||
|
labels:
|
||||||
|
- traefik.http.routers.homepage.rule=Host(`[[SITE_URL]]`)
|
||||||
|
- traefik.http.routers.homepage.tls=true
|
||||||
|
- traefik.http.routers.homepage.tls.certresolver=lets-encrypt
|
||||||
|
- traefik.http.services.homepage.loadbalancer.server.port=[[NGINX_INTERNAL_PORT]]
|
||||||
|
- traefik.port=[[NGINX_INTERNAL_PORT]]
|
15
pws/nginx/nginx.conf
Normal file
15
pws/nginx/nginx.conf
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
events {
|
||||||
|
worker_connections 1024;
|
||||||
|
}
|
||||||
|
|
||||||
|
http {
|
||||||
|
server {
|
||||||
|
listen 81;
|
||||||
|
server_name localhost;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
13
pws/website/index.html
Normal file
13
pws/website/index.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Simple Webpage</title>
|
||||||
|
<link rel="stylesheet" href="styles.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Hello, World!</h1>
|
||||||
|
<p>This is a simple HTML/CSS/JS webpage.</p>
|
||||||
|
<script src="script.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
1
pws/website/script.js
Normal file
1
pws/website/script.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
console.log("Hello, World!");
|
0
pws/website/styles.css
Normal file
0
pws/website/styles.css
Normal file
Loading…
x
Reference in New Issue
Block a user