87 lines
2.1 KiB
Markdown
87 lines
2.1 KiB
Markdown
# invidious
|
|
|
|
|
|
|
|
|
|
|
|
| Création | Portainer |
|
|
| ----------- | --------------------------------------------- |
|
|
| Mise-à-jour | Watchtower |
|
|
| Ports | 7601 |
|
|
| Liens | [Github](https://github.com/iv-org/invidious) |
|
|
|
|
|
|
|
|
```yaml
|
|
version: "3.9"
|
|
services:
|
|
invidious-db:
|
|
image: postgres
|
|
container_name: Invidious-DB
|
|
hostname: invidious-db
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
healthcheck:
|
|
test: ["CMD", "pg_isready", "-q", "-d", "invidious", "-U", "kemal"]
|
|
timeout: 45s
|
|
interval: 10s
|
|
retries: 10
|
|
user: 1026:100
|
|
labels:
|
|
- com.centurylinklabs.watchtower.enable=true
|
|
volumes:
|
|
- /volume1/docker/invidiousdb:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_DB: invidious
|
|
POSTGRES_USER: kemal
|
|
POSTGRES_PASSWORD: kemalpw
|
|
restart: always
|
|
|
|
invidious:
|
|
image: quay.io/invidious/invidious:latest
|
|
container_name: Invidious
|
|
hostname: invidious
|
|
user: 1026:100
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
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
|
|
ports:
|
|
- 7601:3000
|
|
labels:
|
|
- com.centurylinklabs.watchtower.enable=true
|
|
environment:
|
|
INVIDIOUS_CONFIG: |
|
|
db:
|
|
dbname: invidious
|
|
user: kemal
|
|
password: kemalpw
|
|
host: invidious-db
|
|
port: 5432
|
|
check_tables: true
|
|
captcha_enabled: false
|
|
default_user_preferences:
|
|
locale: fr
|
|
region: FR
|
|
external_port: 443
|
|
domain: invidious.photos-nas.ovh
|
|
hmac_key: Kh9d0h2tV1wIVbqUHTCR5EOxcrc6iB9zLu4UGqIpfXKHjGlksKUWsMyOUw0YVJdC
|
|
https_only: true
|
|
restart: always
|
|
depends_on:
|
|
invidious-db:
|
|
condition: service_started
|
|
networks:
|
|
default:
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 172.16.72.0/24
|
|
|
|
# token modifié
|
|
```
|
|
|