-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
38 lines (33 loc) · 1.76 KB
/
.env.example
File metadata and controls
38 lines (33 loc) · 1.76 KB
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
# Copy this file to .env and edit the values. The .env file is gitignored.
# Absolute path where ASU stores built images and logs. The same path is used
# on the host and inside the container, so ASU's generated URLs resolve.
#
# On macOS with `podman machine`, keep this inside your home directory — the
# VM auto-mounts /Users, so host paths under /Users/<you>/... are visible
# from inside containers.
PUBLIC_PATH=/Users/YOU/sensorbox/public
# Path to the Podman API socket *as seen from inside the podman machine VM*,
# not from your mac. The ASU worker bind-mounts this to spawn one build
# container per request.
#
# Derive it from:
# podman info --format '{{.Host.RemoteSocket.Path}}'
# and strip the leading 'unix://' — only keep the filesystem path.
#
# Typical values:
# macOS (podman machine): /run/user/501/podman/podman.sock
# Linux (rootless): /run/user/1000/podman/podman.sock
CONTAINER_SOCKET_PATH=/run/user/501/podman/podman.sock
# Allow ASU build requests to include a custom uci-defaults script. sensorbox
# requires this because Wi-Fi credentials, ORB_DEPLOYMENT_TOKEN, and the root
# password are injected into images via uci-defaults.
ALLOW_DEFAULTS=1
# Package feeds that build requests are allowed to reference. ASU denies
# all custom feeds when this list is empty. We permit the Orb apk feed so
# that the `orb` package can be baked into images at build time.
REPOSITORY_ALLOW_LIST=["https://pkgs.orb.net/stable/openwrt-apk/"]
# Path to a YAML file with custom branch definitions. Entries are merged
# into ASU's hardcoded branches dict at startup. Used for devices that
# need ImageBuilders built from source (e.g. NanoPi Zero2). The file
# must be accessible inside the ASU container — mount it via compose.yaml.
BRANCHES_FILE=/app/branches.yaml