Revert "dockerfiles etc"

This reverts commit e025200ee1.
This commit is contained in:
Didier Slof 2023-02-15 09:08:41 +01:00
parent 77de1b2a85
commit e9250654fc
Signed by: didier
GPG key ID: 01E71F18AA4398E5
4 changed files with 16 additions and 26 deletions

View file

@ -180,10 +180,21 @@ services:
- proxy
invidious:
build:
context: custom/invidious
image: quay.io/invidious/invidious:latest
restart: unless-stopped
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"
VIRTUAL_HOST: "yt.neo.ixvd.net"
VIRTUAL_PORT: 3000
@ -200,11 +211,12 @@ services:
- invidious-db
invidious-db:
build:
context: custom/invidious-db
image: docker.io/library/postgres:14
restart: unless-stopped
volumes:
- /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:
POSTGRES_DB: invidious
POSTGRES_USER: invidious