summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/invidious.yml
blob: 0d12a99f6934f2e23b5e5298d98d496cfde5e8ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
captainVersion: 4
services:
    $$cap_appname-db:
        image: postgres:$$db_version
        restart: always
        volumes:
            - $$cap_appname-data:/var/lib/postgresql/data
        environment:
            POSTGRES_DB: invidious
            POSTGRES_PASSWORD: kemal
            POSTGRES_USER: kemal
        healthcheck:
            test: ['CMD', 'pg_isready', '-U', 'postgres']
        caproverExtra:
            notExposeAsWebApp: 'true'
    $$cap_appname:
        image: quay.io/invidious/invidious$$cap_version
        restart: always
        environment:
            # Adapted from ./config/config.yml
            INVIDIOUS_CONFIG: |
                channel_threads: 1
                check_tables: true
                feed_threads: 1
                db:
                  user: kemal
                  password: kemal
                  host: srv-captain--$$cap_appname-db
                  port: 5432
                  dbname: invidious
                full_refresh: false
                https_only: false
                domain:
        caproverExtra:
            containerHttpPort: '3000'

caproverOneClickApp:
    variables:
        - id: '$$cap_version'
          label: Invidious Version
          defaultValue: '@sha256:38d9630df74d77e9b704c0dbac10c626ef0f8ccb75fa0457e546018e7227b215'
          description: Check out their Quay.io page for the valid tags https://quay.io/repository/invidious/invidious?tab=tags. If you want to use the latest tag (or a versioned release, if available), start with a colon (e.g. :latest).
          validRegex: "/^([^\\s^\\/])+$/"
        - id: '$$db_version'
          label: Postgres Version
          defaultValue: '14' # there is no other tag provided
          description: Check out their Docker page for the valid tags https://hub.docker.com/_/postgres?tab=tags
          validRegex: "/^([^\\s^\\/])+$/"
    instructions:
        start: |-
            Invidious is an alternative front-end to YouTube. 
            More details: https://github.com/iv-org/invidious
        end: |-
            Invidious has been successfully deployed! It may take a couple of minutes until the web frontend can be reached.
    displayName: Invidious
    isOfficial: true
    description: Invidious is an alternative front-end to YouTube.
    documentation: See https://github.com/iv-org/invidious