Skip to content

docker compose.yml

Calin Crisan edited this page May 12, 2023 · 2 revisions

File Location And Role

The following files are tested in this order and the first one that is found will be used to configure docker-compose:

  • /data/etc/docker-compose.yml
  • /boot/docker-compose.yml
  • /etc/docker-compose.yml

If a config file is present, a docker-compose project will be started on your system, with the services described by it. The file is not present by default and should be created by the user, if a docker-compose project is needed.

Note that the following packages are not enabled by default in thingOS and must be enabled for docker/docker-compose to work: docker-cli, docker-engine, docker-compose and fuse-overlayfs.

File Format

See the Compose file reference for a full reference.

Note: it is recommended that you run your docker-compose services in "host" network mode, so that they behave like local services running directly on the host, from a network point of view.

Clone this wiki locally