mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-14 17:38:29 +00:00
docker-compose.yml now makes it automagically work
This commit is contained in:
parent
9892604758
commit
e32ec77b95
@ -26,6 +26,10 @@ services:
|
|||||||
host: invidious-db
|
host: invidious-db
|
||||||
port: 5432
|
port: 5432
|
||||||
check_tables: true
|
check_tables: true
|
||||||
|
signature_server: inv_sig_helper:12999
|
||||||
|
visitor_data: "CHANGE_ME!!"
|
||||||
|
po_token: "CHANGE_ME!!"
|
||||||
|
# force_resolve: ipv6
|
||||||
# external_port:
|
# external_port:
|
||||||
# domain:
|
# domain:
|
||||||
# https_only: false
|
# https_only: false
|
||||||
@ -36,6 +40,9 @@ services:
|
|||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 2
|
retries: 2
|
||||||
|
depends_on:
|
||||||
|
- invidious-db
|
||||||
|
- inv_sig_helper
|
||||||
|
|
||||||
invidious-db:
|
invidious-db:
|
||||||
image: docker.io/library/postgres:14
|
image: docker.io/library/postgres:14
|
||||||
@ -51,5 +58,19 @@ services:
|
|||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
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:
|
volumes:
|
||||||
postgresdata:
|
postgresdata:
|
||||||
|
Loading…
Reference in New Issue
Block a user