add: indivious
This commit is contained in:
parent
41b6545a4d
commit
d323f2abda
1 changed files with 45 additions and 2 deletions
|
@ -175,11 +175,54 @@ services:
|
||||||
- /srv/kasm/other/profiles:/profiles #optional
|
- /srv/kasm/other/profiles:/profiles #optional
|
||||||
- /dev/input:/dev/input #optional
|
- /dev/input:/dev/input #optional
|
||||||
- /run/udev/data:/run/udev/data #optional
|
- /run/udev/data:/run/udev/data #optional
|
||||||
ports:
|
|
||||||
- 3000:3000
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
|
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
|
||||||
|
healthcheck:
|
||||||
|
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1
|
||||||
|
interval: 30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 2
|
||||||
|
logging:
|
||||||
|
options:
|
||||||
|
max-size: "1G"
|
||||||
|
max-file: "4"
|
||||||
|
depends_on:
|
||||||
|
- invidious-db
|
||||||
|
|
||||||
|
invidious-db:
|
||||||
|
image: docker.io/library/postgres:14
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- postgresdata:/var/lib/postgresql/data
|
||||||
|
- ./config/sql:/config/sql
|
||||||
|
- ./docker/init-invidious-db.sh:/docker-entrypoint-initdb.d/init-invidious-db.sh
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: invidious
|
||||||
|
POSTGRES_USER: invidious
|
||||||
|
POSTGRES_PASSWORD: invidious
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
metrics:
|
metrics:
|
Reference in a new issue