@webhikers/cli 1.1.11 → 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.11",
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
- ports_exposes: "3000",
161
160
  instant_deploy: false,
162
161
  });
163
162
  const appUuid = app.uuid;
164
163
 
165
- console.log(c.dim(` Setting domain and compose location...`));
164
+ console.log(c.dim(` Setting domain...`));
166
165
  await coolifyApi(config, "PATCH", `/applications/${appUuid}`, {
167
- domains: `https://${domain}`,
168
- docker_compose_location: "/docker-compose.yml",
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..."));