Added Standardnotes
This commit is contained in:
parent
9103ceaaec
commit
4b5a13a0de
@ -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
|
||||||
|
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:
|
compose:
|
||||||
oracle3:
|
vultr:
|
||||||
- gitea-netrc
|
- standardnotes
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
deployed_compose:
|
deployed_compose:
|
||||||
vultr:
|
vultr:
|
||||||
|
- standardnotes
|
||||||
- imgin
|
- imgin
|
||||||
- rat-aint-tieba
|
- rat-aint-tieba
|
||||||
- watchtower
|
- watchtower
|
||||||
|
Loading…
Reference in New Issue
Block a user