Compare commits

..

7 Commits

Author SHA1 Message Date
ac986831d8 add /etc/nginx/nginx.conf to docker 2023-04-30 15:10:32 -05:00
c977931ffc -f for filebrowser ln
the purpose of ln's -f option: it removes existing destination files, if any, before creating the link.
2023-04-11 21:54:49 -05:00
2627bbfc11 increase upload size to 100M 2023-04-11 18:48:16 -05:00
6e1c1f4450 Merge branch 'refactor' 2023-04-10 18:25:56 -05:00
ebf50df60b moved and renamed to index.html 2023-04-10 18:22:34 -05:00
44d774f230 fix some website errors 2023-04-10 18:09:37 -05:00
37a2655e70 fix dir2cast permissions issue 2023-04-10 18:09:26 -05:00
7 changed files with 13 additions and 51 deletions

View File

@@ -2,7 +2,7 @@ FROM nginx
RUN echo $UID
RUN mkdir -p /var/www/dir2cast
RUN chgrp -R www-data /var/www/dir2cast
RUN chown -R www-data:www-data /var/www/dir2cast
COPY apps/dir2cast/dir2cast.php /var/www/dir2cast
COPY apps/dir2cast/getID3 /var/www/dir2cast/getID3

View File

@@ -12,24 +12,24 @@ USER=anthonyscorrea@gmail.com
/filebrowser users add $USER "" --perm.admin
/filebrowser users update $USER --scope "users/$USER"
mkdir -p $USERS_DIR$USER
ln -s /srv/foundry/Data/modules $USERS_DIR$USER/foundry-modules
ln -s /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
ln -s /srv/foundry/Data/systems $USERS_DIR$USER/foundry-systems
ln -s /srv/metube $USERS_DIR$USER/metube
ln -s /srv/foundry/ $USERS_DIR$USER/foundry
ln -sf /srv/foundry/Data/modules $USERS_DIR$USER/foundry-modules
ln -sf /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
ln -sf /srv/foundry/Data/systems $USERS_DIR$USER/foundry-systems
ln -sf /srv/metube $USERS_DIR$USER/metube
ln -sf /srv/foundry/ $USERS_DIR$USER/foundry
USER=bcrase@gmail.com
/filebrowser users add $USER ""
/filebrowser users update $USER --scope "users/$USER"
mkdir -p $USERS_DIR$USER
ln -s /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
ln -s /srv/metube $USERS_DIR$USER/metube
ln -sf /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
ln -sf /srv/metube $USERS_DIR$USER/metube
USER=acorre20@gmail.com
/filebrowser users add $USER ""
/filebrowser users update $USER --scope "users/$USER"
mkdir -p $USERS_DIR$USER
ln -s /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
ln -sf /srv/foundry/Data/worlds $USERS_DIR$USER/foundry-worlds
/filebrowser users add $USER ""
/filebrowser users update $USER --scope "users/$USER"

View File

@@ -1,40 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Crew of the Kahuna</title>
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i&amp;display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,600,700&amp;display=swap">
<link rel="stylesheet" href="assets/css/Articles-Cards-images.css">
<link rel="stylesheet" href="assets/css/Features-Cards-icons.css">
<link rel="stylesheet" href="assets/css/Navigation-Clean.css">
<link rel="shortcut icon" type="image/jpg" href="favicon.png"/>
</head>
<body style="background: #b3a48d;">
<nav class="navbar navbar-light navbar-expand bg-light">
<div class="container"><img src="assets/img/crew-of-the-kahuna-horiz.svg" width="400"></div>
</nav>
<div class="container-sm">
<div class="row">
<div class="col p-3">
<div class="card">
<div class="card-header d-lg-flex align-items-lg-center">
<h5 class="text-uppercase" style="font-family: Oswald, sans-serif;">GM Tools</h5>
</div>
<div class="card-body p-0">
<div class="list-group list-group-flush"><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/foundry"><img src="assets/img/filebrowser-logo.svg" width="32" height="32"><span class="mx-2">Filebrowser</span></a><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="https://discord.gg/tbU7G54D"><img src="assets/img/metube.png" width="32" height="32"><span class="mx-2">Metube</span></a><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/podcast/03bitd/feed"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16" class="bi bi-file-person-fill" style="width: 32px;height: 32px;">
<path d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm-1 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0zm-3 4c2.623 0 4.146.826 5 1.755V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-1.245C3.854 11.825 5.377 11 8 11z"></path>
</svg><span class="mx-2">Token Stamp</span></a></div>
</div>
</div>
</div>
</div>
</div>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>

View File

@@ -26,7 +26,7 @@
<h5 class="text-uppercase" style="font-family: Oswald, sans-serif;">GM Tools</h5>
</div>
<div class="card-body p-0">
<div class="list-group list-group-flush"><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/filebrowser"><img src="../assets/img/filebrowser-logo.svg" width="32" height="32"><span class="mx-2">Filebrowser</span></a><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/metube"><img src="../assets/img/metube.png" width="32" height="32"><span class="mx-2">Metube</span></a><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/rolladvantage/token_stamp"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16" class="bi bi-file-person-fill" style="width: 32px;height: 32px;">
<div class="list-group list-group-flush"><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/filebrowser"><img src="../assets/img/filebrowser-logo.svg" width="32" height="32"><span class="mx-2">Filebrowser</span></a><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/metube"><img src="../assets/img/metube.png" width="32" height="32"><span class="mx-2">Metube</span></a><a class="d-lg-flex align-items-lg-center list-group-item list-group-item-action" href="/rolladvantage/tokenstamp"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16" class="bi bi-file-person-fill" style="width: 32px;height: 32px;">
<path d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm-1 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0zm-3 4c2.623 0 4.146.826 5 1.755V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-1.245C3.854 11.825 5.377 11 8 11z"></path>
</svg><span class="mx-2">Token Stamp</span></a></div>
</div>

View File

@@ -75,7 +75,7 @@
<div class="list-group list-group-flush">
<div class="accordion accordion-flush" role="tablist" id="accordion-2">
<div class="accordion-item">
<h2 class="accordion-header" role="tab"><button class="accordion-button collapsed p-2" type="button" data-bs-toggle="collapse" data-bs-target="#accordion-2 .item-1" aria-expanded="false" aria-controls="accordion-2 .item-1"><a class="d-flex align-items-center text-decoration-none" href="/podcast/">
<h2 class="accordion-header" role="tab"><button class="accordion-button collapsed p-2" type="button" data-bs-toggle="collapse" data-bs-target="#accordion-2 .item-1" aria-expanded="false" aria-controls="accordion-2 .item-1"><a class="d-flex align-items-center text-decoration-none" href="#">
<div class="d-inline-block rounded-3" style="background: url(&quot;assets/img/itunes_image.jpg&quot;) center / cover;height: 128px;width: 128px;"></div><span class="text-dark mx-3" style="font-family: 'Open Sans', sans-serif;">D&amp;D vs. Rick and Morty</span>
</a></button></h2>
<div class="accordion-collapse collapse item-1" role="tabpanel" data-bs-parent="#accordion-2">

View File

@@ -14,6 +14,7 @@ events {
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
client_max_body_size 100M;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '

View File

@@ -28,6 +28,7 @@ services:
- ./apps/vouch/vouch.nginx.conf:/etc/nginx/conf.d/apps-enabled/vouch.conf
- ./apps/metube/metube.nginx.conf:/etc/nginx/conf.d/apps-enabled/metube.conf
- ./apps/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf
- ./apps/nginx/nginx.conf:/etc/nginx/nginx.conf
environment:
TZ: "America/Chicago"
ports: