···26262727You want to import all of the existing compose projects into Komodo as [Files On Server](../usage/overview#files-on-server) [Stacks](https://komo.do/docs/resources#stack) attached to `my-cool-server`.
28282929+:::tip
3030+3131+Using git repositories instead of plain folders? Check out the [Git Repo Stack docs](../usage/overview#git-repo)
3232+3333+:::
3434+2935## Create Docker Compose File
30363137Use the [example `compose.yaml` file from the repository](https://github.com/FoxxMD/komodo-import/blob/main/compose.yaml) as a starting point.
32383333-* Bind `/home/myUser/homelab/` into the container at `/filesOnServer` so Komodo Import can scan the parent folder
3939+* Bind `/home/myUser/homelab/` into the container at `/filesOnServer` so Komodo Import can scan the parent folder (this is the same for plain folder and git repo stack methods)
3440* Define `HOST_PARENT_PATH=/home/myUser/homelab` so Komodo Import knows how to create Run Directory in a Komodo Stack correctly
35413642```yaml
···5258 restart: no
5359```
54606161+## Choose Desired Output
6262+5563<Tabs groupId="output" queryString>
5664<TabItem value="console" label="Console">
5757- This [Output](../usage/overview#outputs) write renders the Sync Resource TOML to docker logs. Run komodo-import with `--no-log-prefix` to get the generated TOML output for a Sync Resource.
6565+ This [Output](../usage/overview#outputs) renders the Sync Resource TOML to docker logs. Run komodo-import with `--no-log-prefix` to get the generated TOML output for a Sync Resource.
58665967 ```shell
6068 docker compose up --no-log-prefix
···116124[2025-08-11 14:06:19.119 -0400] INFO : [App] Done!
117125```
118126119119-Now [manually create a Sync Resource](../usage/resourceSync#create-sync-resource) and Execute to import your projects.
127127+Now, [manually create a Sync Resource](../usage/resourceSync#create-sync-resource) and Execute to import your projects.
128128+129129+Or, use [Sync Api](./?output=sync-api#choose-desired-output) output instead to directly write the Sync Resource to Komodo.
120130</TabItem>
121131<TabItem value="sync-api" label="Sync API">
122132
+2-1
docsite/docs/usage/overview.mdx
···402402403403* `http://192.168.0.100:9120`
404404* `https://komodo.mydomain.com`
405405-* `https://myKomodo.com`405405+* `https://myKomodo.com`
406406+* `http://komodo` (in docker network, for example)