dockerfiles etc
This commit is contained in:
parent
99eb1da214
commit
e025200ee1
4 changed files with 26 additions and 16 deletions
8
custom/invidious-db/Dockerfile
Normal file
8
custom/invidious-db/Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM docker.io/library/postgres:14-bullseye
|
||||
|
||||
RUN apt update && apt install -y \
|
||||
git
|
||||
|
||||
RUN git clone git clone https://github.com/iv-org/invidious /tmp/invidious
|
||||
RUN cp -r /tmp/invidious/config/sql /config/sql
|
||||
RUN cp -r /tmp/invidious/docker/init-invidious-db.sh /docker-entrypoint-initdb.d/init-invidious-db.sh
|
3
custom/invidious/Dockerfile
Normal file
3
custom/invidious/Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM quay.io/invidious/invidious
|
||||
|
||||
COPY config.yml /invidious/config/config.yml
|
11
custom/invidious/config.yml
Normal file
11
custom/invidious/config.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
db:
|
||||
dbname: invidious
|
||||
user: indivious
|
||||
password: indivious
|
||||
host: invidious-db
|
||||
port: 5432
|
||||
check_tables: true
|
||||
domain: yt.neo.ixvd.net
|
||||
# external_port:
|
||||
# https_only: false
|
||||
# statistics_enabled: false
|
Reference in a new issue