Skip to content

Instantly share code, notes, and snippets.

View Nasjoe's full-sized avatar

Jonas Nasjoe

View GitHub Profile
@aacater
aacater / Dockerfile
Last active May 16, 2023 16:22
Dockerfile for BorgWarehouse
FROM node:18-slim
ARG USERNAME=borgwarehouse
ARG USER_UID=1001
ARG USER_GID=$USER_UID
ARG SUDO_LINE="$USERNAME ALL=(ALL) NOPASSWD: /usr/sbin/useradd,/bin/mkdir,/usr/bin/touch,/bin/chmod,/bin/chown,/bin/bash,/usr/bin/jc,/usr/bin/jq,/bin/sed,/bin/grep,/usr/bin/stat,/usr/bin/borg,/bin/echo,/usr/sbin/userdel,/usr/sbin/service"
ENV DEBIAN_FRONTEND=noninteractive
@idolpx
idolpx / docker-compose.yml
Last active November 29, 2022 13:29
Docker - Traefik - Nextcloud - OnlyOffice: installed on a single host using multiple domains for the same Nextcloud container
version: "3.3"
networks:
proxy:
ipam:
driver: default
config:
- subnet: 17.100.0.0/16
services:
@101t
101t / Deployment Guide to Installing Odoo 14 on Ubuntu 20.04.md
Last active June 13, 2024 21:47
Deployment Guide to Installing Odoo 14 on Ubuntu 20.04
@pyrou
pyrou / docker-compose.yml
Last active July 8, 2024 17:17
Use https://traefik.me SSL certificates for local HTTPS without having to touch your /etc/hosts or your certificate CA.
version: '3'
services:
traefik:
restart: unless-stopped
image: traefik:v2.0.2
ports:
- "80:80"
- "443:443"
labels:
- "traefik.http.services.traefik.loadbalancer.server.port=8080"