Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue building docker-compose example file for balena #243

Open
klowd92 opened this issue Nov 28, 2023 · 0 comments
Open

Issue building docker-compose example file for balena #243

klowd92 opened this issue Nov 28, 2023 · 0 comments

Comments

@klowd92
Copy link

klowd92 commented Nov 28, 2023

When i try to build the docker-compose.yml example given, or similar variants, i get an error:
ben@BENCHRO-LT-IL:/tmp/balena-mdns-publisher$ balena build -d raspberrypi4-64 -A aarch64 --debug
[debug] new argv=[/home/ben/balena/balena-cli/balena,/snapshot/balena-cli/bin/balena,build,-d,raspberrypi4-64,-A,aarch64] length=7
[debug] Deprecation check: 0.32313 days since last npm registry query for next major version release date.
[debug] Will not query the registry again until at least 7 days have passed.
[Debug] Parsing input...
[Debug] Loading project...
[Debug] Resolving project...
[Debug] docker-compose.yml file found at "/tmp/balena-mdns-publisher"
[Debug] Creating project...
[Error] Build failed.
data/balena-mdns-publisher should NOT have additional properties

Here is the docker-compose (it includes proper spacing which are deleted in the comments):

balena-mdns-publisher:
image: 'balena/balena-mdns-publisher:master'
network_mode: host
cap_add:
- SYS_RESOURCE
- SYS_ADMIN
security_opt:
- 'apparmor:unconfined'
tmpfs:
- /run
- /sys/fs/cgroup
labels:
io.balena.features.dbus: '1'
environment:
CONFD_BACKEND: ENV
MDNS_TLD: bentest.solaredge.tcp.local
MDNS_SUBDOMAINS: >-
["admin", "api", ...]
MDNS_API_TOKEN: 1234567890abcdef
DBUS_SESSION_BUS_ADDRESS: 'unix:path=/host/run/dbus/system_bus_socket'
BALENA_ROOT_CA: >-
1234567890abcdef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant