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 state: latest
install_recommends: false install_recommends: false
delegate_to: "{{ control_host }}" delegate_to: "{{ control_host }}"
become: true
- name: Curl IP block range file by ProjectSegfault - 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 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: compose:
oracle3: vultr:
- gitea-netrc - standardnotes
# ---------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------
deployed_compose: deployed_compose:
vultr: vultr:
- standardnotes
- imgin - imgin
- rat-aint-tieba - rat-aint-tieba
- watchtower - watchtower