License Headers
This commit is contained in:
parent
65a78a1fe0
commit
3de703e6d5
6 changed files with 17 additions and 23 deletions
|
@ -1,3 +1,6 @@
|
|||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
# Copyright (c) 2024 Interstellar Development
|
||||
|
||||
FROM python:alpine
|
||||
WORKDIR /usr/local/app
|
||||
|
||||
|
|
16
Makefile
16
Makefile
|
@ -1,16 +0,0 @@
|
|||
APP = jet-search
|
||||
DOMAIN = jetsearch.com
|
||||
|
||||
build:
|
||||
docker build -t $(APP) .
|
||||
docker save -o $(APP).tar $(APP)
|
||||
|
||||
install:
|
||||
openssl genrsa -out /etc/ssl/private/$(APP).key 2048
|
||||
openssl req -new -key /etc/ssl/private/$(APP).key -out /etc/ssl/certs/$(APP).csr -config openssl.cnf
|
||||
openssl x509 -req -in /etc/ssl/certs/$(APP).csr -CA /root/ca.crt -CAkey /root/ca.key -CAcreateserial -out /etc/ssl/certs/$(APP).crt -extfile openssl.cnf -extensions req_ext -days 500 -sha256
|
||||
cp nginx.cnf /etc/nginx/sites-enabled/$(APP)
|
||||
echo "\nzone \"$(DOMAIN)\" {\n type master;\n file \"/etc/bind/db.$(DOMAIN)\";\n};" | tee -a /etc/bind/named.conf.local
|
||||
cp zonefile.cnf /etc/bind/db.$(DOMAIN)
|
||||
docker load -i $(APP).tar
|
||||
docker run -p 5000:5000 --name $(APP) --restart always -d $(APP)
|
|
@ -1,3 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
# Copyright (c) 2024 Interstellar Development
|
||||
|
||||
APP=jet-search
|
||||
DOMAIN=jetsearch.com
|
||||
PORT=5000
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
/*
|
||||
This file is part of VM-Experiments.
|
||||
Licensed under the AGPL-3.0-or-later. See LICENSE for details.
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
Copyright (c) 2024 Interstellar Development
|
||||
*/
|
||||
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<!--
|
||||
This file is part of VM-Experiments.
|
||||
Licensed under the AGPL-3.0-or-later. See LICENSE for details.
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
Copyright (c) 2024 Interstellar Development
|
||||
-->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# This file is part of VM-Experiments.
|
||||
# Licensed under the AGPL-3.0-or-later. See LICENSE for details.
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
# Copyright (c) 2024 Interstellar Development
|
||||
|
||||
from flask import Flask, render_template, request
|
||||
|
||||
|
|
Loading…
Reference in a new issue