@verdnatura/myt 1.5.33 → 1.6.0
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/myt-run.js +3 -4
- package/package.json +1 -1
- package/server/Dockerfile.dump +2 -0
package/myt-run.js
CHANGED
|
@@ -113,8 +113,7 @@ class Run extends Command {
|
|
|
113
113
|
|
|
114
114
|
Object.assign(runOptions, null, {
|
|
115
115
|
env: `RUN_CHOWN=${runChown}`,
|
|
116
|
-
detach: true
|
|
117
|
-
volume: `${this.opts.mytDir}:/workspace`
|
|
116
|
+
detach: true
|
|
118
117
|
});
|
|
119
118
|
const ct = await docker.run(opts.code, null, runOptions);
|
|
120
119
|
const server = new Server(ct, dbConfig);
|
|
@@ -126,8 +125,8 @@ class Run extends Command {
|
|
|
126
125
|
});
|
|
127
126
|
|
|
128
127
|
if (opts.ci) {
|
|
129
|
-
dbConfig.host = network
|
|
130
|
-
? netSettings.Networks[network].IPAddress
|
|
128
|
+
dbConfig.host = opts.network
|
|
129
|
+
? netSettings.Networks[opts.network].IPAddress
|
|
131
130
|
: netSettings.Gateway;
|
|
132
131
|
dbConfig.port = 3306;
|
|
133
132
|
} else
|
package/package.json
CHANGED