0
0

Added Standardnotes

This commit is contained in:
Opnxng 2024-11-16 23:52:19 +08:00
parent 9103ceaaec
commit 4b5a13a0de
4 changed files with 36 additions and 3 deletions

View File

@ -19,6 +19,7 @@
state: latest
install_recommends: false
delegate_to: "{{ control_host }}"
become: true
- name: Curl IP block range file by ProjectSegfault
command: curl --output /tmp/blocked-ranges.yaml https://raw.githubusercontent.com/ProjectSegfault/ansible/master/privfrontends/blocked-ranges.yaml

View File

@ -0,0 +1,22 @@
# {{ ansible_managed }}
services:
standardnotes:
image: standardnotes/web:latest
container_name: standardnotes
security_opt:
- no-new-privileges
# cap_drop:
# - ALL
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
restart: unless-stopped
ports:
- 8911:80
networks:
- standardnotes
networks:
standardnotes:
name: standardnotes

View File

@ -599,6 +599,15 @@
}
}
@sn host sn.{$HOSTNAME}
handle @sn {
encode zstd gzip
reverse_proxy {{ vultr_private_ip }}:8911
header {
X-Robots-Tag "noindex, noimageindex, nosnippet, notranslate, noarchive, nofollow"
}
}
}
# ----------------------------------------------------------------------------------------------------

View File

@ -1,11 +1,12 @@
config:
oracle3:
- gitea-netrc
compose:
vultr:
- standardnotes
# ----------------------------------------------------------------------------------------------------
deployed_compose:
vultr:
- standardnotes
- imgin
- rat-aint-tieba
- watchtower