docker: invidious updated to current version

master
tiyn 2 years ago
parent b0c886d962
commit 8385e45763

@ -51,7 +51,8 @@ Set the following ports in the `ports:` section.
#!/bin/sh #!/bin/sh
cd invidious cd invidious
docker-compose down docker-compose down
docker pull postgres:10 docker pull quay.io/invidious/invidious:latest
docker pull docker.io/library/postgres:14
docker-compose up -d docker-compose up -d
cd .. cd ..
``` ```
@ -63,9 +64,7 @@ version: "3"
services: services:
invidious: invidious:
build: image: quay.io/invidious/invidious:latest
context: .
dockerfile: docker/Dockerfile
restart: unless-stopped restart: unless-stopped
ports: ports:
- "3000:3000" - "3000:3000"
@ -85,21 +84,21 @@ services:
domain: yt.home.server domain: yt.home.server
https_only: false https_only: false
popular_enabled: false popular_enabled: false
registration_enabled: false #registration_enabled: false
# statistics_enabled: false # statistics_enabled: false
default_user_preferences: default_user_preferences:
dark_mode: true dark_mode: true
default_home: "Subscriptions" default_home: "Subscriptions"
healthcheck: healthcheck:
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1 test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1
interval: 30s interval: 30m
timeout: 5s timeout: 5m
retries: 2 retries: 3
depends_on: depends_on:
- invidious-db - invidious-db
invidious-db: invidious-db:
image: docker.io/library/postgres:13 image: docker.io/library/postgres:14
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- postgresdata:/var/lib/postgresql/data - postgresdata:/var/lib/postgresql/data

Loading…
Cancel
Save