@webhikers/cli 1.1.12 → 1.1.14
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 +3 -2
package/package.json
CHANGED
package/src/commands/create.js
CHANGED
|
@@ -157,15 +157,16 @@ 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",
|
|
160
161
|
instant_deploy: false,
|
|
161
162
|
});
|
|
162
163
|
const appUuid = app.uuid;
|
|
163
164
|
|
|
164
165
|
console.log(c.dim(` Setting domain...`));
|
|
165
166
|
await coolifyApi(config, "PATCH", `/applications/${appUuid}`, {
|
|
166
|
-
docker_compose_domains:
|
|
167
|
+
docker_compose_domains: [
|
|
167
168
|
{ name: "app", domain: `https://${domain}` },
|
|
168
|
-
]
|
|
169
|
+
],
|
|
169
170
|
});
|
|
170
171
|
|
|
171
172
|
console.log(c.dim(" Setting environment variables..."));
|