Skip to content

Instantly share code, notes, and snippets.

View ratnose's full-sized avatar

ratnose ratnose

  • Sweden
View GitHub Profile
To support the app dev(s) visit:
WireGuard: https://www.wireguard.com/donations/
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1000
network:
version: 2
renderer: networkd
ethernets:
enp3s0:
dhcp4: no
addresses:
- 10.100.100.100/24
gateway4: 10.100.100.1
nameservers:
network:
renderer: networkd
version: 2
ethernets:
enp4s0:
dhcp4: false
enp7s0:
dhcp4: false
vlans:
vlan100:
nextcloud:
image: ghcr.io/linuxserver/nextcloud:latest
container_name: nextcloud
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Stockholm
volumes:
- ./appdata/nextcloud:/config
- Cloud:/data
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name office.*;
include /config/nginx/ssl.conf;
# static files
location ^~ /loleaflet {
admin@dockerhost:~$ curl https://office.domain.io
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
body {
width: 35em;
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
collabora:
image: collabora/code:latest
container_name: collabora
hostname: office
environment:
- domain=office.domain.io
- username=officeadmin
- password=<super-secret>
- dictionaries=en
#- extra_params=--o:ssl.enable=false --o:ssl.termination=true
collabora:
image: collabora/code:latest
container_name: collabora
hostname: office
environment:
- domain=office.domain.io
- username=officeadmin
- password=<password>
- dictionaries=en se
- extra_params=--o:ssl.enable=false --o:ssl.termination=true
version: '3.7'
services:
swag:
image: linuxserver/swag:latest
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
Client:
[Interface]
PrivateKey = ******
ListenPort = 51845
Address = 10.125.37.20/24
DNS = 46.227.67.134, 192.165.9.158
[Peer]
PublicKey = ******
AllowedIPs = 0.0.0.0/0