Added Standardnotes
This commit is contained in:
parent
9103ceaaec
commit
4b5a13a0de
@ -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
|
||||
|
22
templates/compose/standardnotes.yaml.j2
Normal file
22
templates/compose/standardnotes.yaml.j2
Normal 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
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# ----------------------------------------------------------------------------------------------------
|
||||
|
@ -1,11 +1,12 @@
|
||||
config:
|
||||
oracle3:
|
||||
- gitea-netrc
|
||||
compose:
|
||||
vultr:
|
||||
- standardnotes
|
||||
|
||||
# ----------------------------------------------------------------------------------------------------
|
||||
|
||||
deployed_compose:
|
||||
vultr:
|
||||
- standardnotes
|
||||
- imgin
|
||||
- rat-aint-tieba
|
||||
- watchtower
|
||||
|
Loading…
Reference in New Issue
Block a user