summaryrefslogtreecommitdiffstats
path: root/acid/config.sh
blob: ee6b5ccab111d641c04aa2221af8f3f7a5859159 (plain) (blame)
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
# Minimum time to wait between periodic service rebuilds / maintenance tasks
CYCHE_MAINT_TIME=604800 # 1 week

# Minimum time to wait between polling sources for updates
CYCHE_POLL_TIME=600 # 10 minutes

# Minimum time to wait on daemon startup
CYCHE_STARTUP_TIME=60 # 1 minute

# Master list of managed services
CYCHE_SERVICES=(
    # <ref-pattern> should be a string suitable for `git for-each-ref`.  Some
    # basic use-cases might be to:
    #
    #   Deploy from                 Use
    #   -------------------------------------------------------------
    #   A branch                    refs/remotes/origin/<branch-name>
    #   A tag (static)              refs/tags/<tag-name>
    #   Latest tag                  refs/tags
    #   Latest tag matching glob    refs/tags/<shell-*-wildcard>
    #
    # <name> is arbitrary, but must be unique.  It is used to name various
    # docker entities and must contain only "a-z", dashes, or underscores.

    # The source used to fetch updates for cychedelic itself should be the first
    # in the list.  As just mentioned, it can be named anything, but "cychedelic"
    # is conventional.

    # <name>            <url>                                                       <ref-pattern>                               <compose-file>
    'cychedelic         https://your/cyche/source.git                               refs/remotes/origin/master                  docker-compose.yml'
)