Merge branch 'master' of https://git.cspark.dev/cspark/Client-Ansible-Setup
This commit is contained in:
commit
b977f4a1ff
|
|
@ -20,6 +20,7 @@
|
||||||
group: service_invidious
|
group: service_invidious
|
||||||
loop:
|
loop:
|
||||||
- docker-compose.yml
|
- docker-compose.yml
|
||||||
|
- identity-gen.sh
|
||||||
|
|
||||||
- name: Copy postgresql config and other database files
|
- name: Copy postgresql config and other database files
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,9 @@ services:
|
||||||
host: 11.1.0.22
|
host: 11.1.0.22
|
||||||
port: 5432
|
port: 5432
|
||||||
check_tables: true
|
check_tables: true
|
||||||
|
signature_server: 11.1.0.23:12999
|
||||||
|
visitor_data: "{{ service_invidious_visitor_data }}"
|
||||||
|
po_token: "{{ service_invidious_po_token }}"
|
||||||
external_port: 443
|
external_port: 443
|
||||||
domain: invidious.{{ domain_name }}
|
domain: invidious.{{ domain_name }}
|
||||||
https_only: true
|
https_only: true
|
||||||
|
|
@ -70,6 +73,27 @@ services:
|
||||||
cpus: '0.25'
|
cpus: '0.25'
|
||||||
memory: 512M
|
memory: 512M
|
||||||
|
|
||||||
|
invidious-signature-helper:
|
||||||
|
image: quay.io/invidious/inv-sig-helper:latest
|
||||||
|
init: true
|
||||||
|
command: ["--tcp", "0.0.0.0:12999"]
|
||||||
|
environment:
|
||||||
|
- RUST_LOG=info
|
||||||
|
restart: unless-stopped
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
read_only: true
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
networks:
|
||||||
|
invidious:
|
||||||
|
ipv4_address: 11.1.0.23
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.10'
|
||||||
|
memory: 128M
|
||||||
|
|
||||||
invidious-db:
|
invidious-db:
|
||||||
image: docker.io/library/postgres:16-alpine
|
image: docker.io/library/postgres:16-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
docker run quay.io/invidious/youtube-trusted-session-generator
|
||||||
|
|
@ -1,2 +1,4 @@
|
||||||
# Example service secrets for invidious docker service, to be encrypted with ansible vault and called servicesecrets.enc
|
# Example service secrets for invidious docker service, to be encrypted with ansible vault and called servicesecrets.enc
|
||||||
service_invidious_postgres_password: ***
|
service_invidious_postgres_password: ***
|
||||||
|
service_invidious_visitor_data: ***
|
||||||
|
service_invidious_po_token: ***
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue