summaryrefslogtreecommitdiffstats
path: root/examples/packages/example_1/config.toml
blob: 25d5401e1287cbd6fdafb658325d15c6b7f4a371 (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
# Configuration file for BUTIDO for this repository

# repository of package definitions
repository = "/tmp/butido_example_1"

releases = "/tmp/butido-releases"
staging  = "/tmp/butido-staging"
source_cache = "/tmp/butido-sources"

# ####
#
# Log database configuration
#
# ####

# The database to use
#
# Can be overridden via environment vairbale BUTIDO_DATABASE_URI or set via CLI.
database_host     = "localhost"
database_port     = 5432
database_user     = "pgdev"
database_password = "password"
database_name     = "butido"


# Phases which can be configured in the packages
available_phases = [ "unpack", "build", "install", "package" ]

[docker]
# Images which can be used to build
# images not listed here are automatically rejected
images = [ "debian:bullseye" ]
verify_images_present = true

# List of docker endpoints
[[docker.endpoints]]
name          = "example host name"
uri           = "http://0.0.0.0:8095"
endpoint_type = "http"
speed         = 1
maxjobs       = 10


[containers]
# environment variables which are allowed during container start
# This way, errors (typos) when passing environment to a build can be prevented
allowed_env = [ "PATH" ]