docker-compose.yml now makes it automagically work

This commit is contained in:
Sergei Poljanski 2024-11-19 02:05:38 +02:00
parent 9892604758
commit e32ec77b95
No known key found for this signature in database
GPG Key ID: 4F8851660FA4121B

View File

@ -26,6 +26,10 @@ services:
host: invidious-db
port: 5432
check_tables: true
signature_server: inv_sig_helper:12999
visitor_data: "CHANGE_ME!!"
po_token: "CHANGE_ME!!"
# force_resolve: ipv6
# external_port:
# domain:
# https_only: false
@ -36,6 +40,9 @@ services:
interval: 30s
timeout: 5s
retries: 2
depends_on:
- invidious-db
- inv_sig_helper
invidious-db:
image: docker.io/library/postgres:14
@ -51,5 +58,19 @@ services:
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
inv_sig_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
volumes:
postgresdata: