Skip to content

Instantly share code, notes, and snippets.

View adamrees89's full-sized avatar
🧿
Focusing

Adam Rees adamrees89

🧿
Focusing
  • UK
View GitHub Profile
@adamrees89
adamrees89 / docker-compose - Redacted.yml
Created January 18, 2021 09:40
InvoiceNinja Docker-compose
version: '3.7'
services:
server:
image: nginx
restart: always
environment:
- APP_URL=http://[MYINTERNALIP]/
volumes:
# Vhost configuration
@adamrees89
adamrees89 / templateReader.py
Last active August 21, 2017 14:49
Template Reader Python
import sqlite3
import openpyxl
import sys
import time
import logging
import os
#Logging set-up information, check if the log directory exists, if not create it then set up the log
now=time.strftime("%c")
os.makedirs("logs",exist_ok=True)