This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default_server; | |
index index.php index.html index.htm | |
server_name _; | |
location /csv { | |
alias /var/www/csv-importer/public/; | |
try_files $uri $uri/ @csv; | |
autoindex on; | |
sendfile off; | |
location ~ \.php$ { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The files below are what I used to create an instance of mealie without having to use docker. It uses Ubuntu 20.04 as the OS. | |
Don't expect the ansible playbook to work via copy and paste, you'll need to edit it according to your setup. | |
This is just an example of the steps required. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
remote_user: onionadmin | |
become: true | |
gather_facts: no | |
tasks: | |
- name: install nodejs LTS (v16) repo | |
shell: | |
cmd: 'curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fortigate_api import Fortigate | |
import base64 | |
from datetime import datetime | |
import inotify.adapters | |
import inotify.constants | |
import requests | |
#Wildcard cert file location | |
CERT_FILE = "" | |
#Key file location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
remote_user: onionadmin | |
become: true | |
gather_facts: no | |
tasks: | |
- name: install nodejs LTS (v16) repo | |
shell: | |
cmd: 'curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -' |