@webhikers/cli 1.1.10 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webhikers/cli",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "CLI for creating and deploying webhikers projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -157,15 +157,15 @@ export async function createCommand(name) {
157
157
  git_repository: `Webhikers/${name}`,
158
158
  git_branch: "master",
159
159
  build_pack: "dockercompose",
160
- docker_compose_location: "docker-compose.yml",
161
- ports_exposes: "3000",
162
160
  instant_deploy: false,
163
161
  });
164
162
  const appUuid = app.uuid;
165
163
 
166
164
  console.log(c.dim(` Setting domain...`));
167
165
  await coolifyApi(config, "PATCH", `/applications/${appUuid}`, {
168
- domains: `https://${domain}`,
166
+ docker_compose_domains: JSON.stringify([
167
+ { name: "app", domain: `https://${domain}` },
168
+ ]),
169
169
  });
170
170
 
171
171
  console.log(c.dim(" Setting environment variables..."));