parent
77de1b2a85
commit
e9250654fc
4 changed files with 16 additions and 26 deletions
|
@ -1,8 +0,0 @@
|
||||||
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
|
|
|
@ -1,3 +0,0 @@
|
||||||
FROM quay.io/invidious/invidious
|
|
||||||
|
|
||||||
COPY config.yml /invidious/config/config.yml
|
|
|
@ -1,11 +0,0 @@
|
||||||
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
|
|
|
@ -180,10 +180,21 @@ services:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
invidious:
|
invidious:
|
||||||
build:
|
image: quay.io/invidious/invidious:latest
|
||||||
context: custom/invidious
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
INVIDIOUS_CONFIG: |
|
||||||
|
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
|
||||||
LETSENCRYPT_HOST: "yt.neo.ixvd.net"
|
LETSENCRYPT_HOST: "yt.neo.ixvd.net"
|
||||||
VIRTUAL_HOST: "yt.neo.ixvd.net"
|
VIRTUAL_HOST: "yt.neo.ixvd.net"
|
||||||
VIRTUAL_PORT: 3000
|
VIRTUAL_PORT: 3000
|
||||||
|
@ -200,11 +211,12 @@ services:
|
||||||
- invidious-db
|
- invidious-db
|
||||||
|
|
||||||
invidious-db:
|
invidious-db:
|
||||||
build:
|
image: docker.io/library/postgres:14
|
||||||
context: custom/invidious-db
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/indivious/other/db/data:/var/lib/postgresql/data
|
- /srv/indivious/other/db/data:/var/lib/postgresql/data
|
||||||
|
- /srv/indivious/other/db/config/sql:/config/sql
|
||||||
|
- /srv/indivious/other/db/docker/init-invidious-db.sh:/docker-entrypoint-initdb.d/init-invidious-db.sh
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: invidious
|
POSTGRES_DB: invidious
|
||||||
POSTGRES_USER: invidious
|
POSTGRES_USER: invidious
|
||||||
|
|
Reference in a new issue