@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 +1 -1
- package/src/commands/create.js +4 -4
package/package.json
CHANGED
package/src/commands/create.js
CHANGED
|
@@ -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
|
|
164
|
+
console.log(c.dim(` Setting domain...`));
|
|
166
165
|
await coolifyApi(config, "PATCH", `/applications/${appUuid}`, {
|
|
167
|
-
|
|
168
|
-
|
|
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..."));
|