mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 15:20:06 +02:00
chore: prefix container names
This commit is contained in:
parent
a44c12dcdd
commit
a0ea6d4a28
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
const execa = require('execa');
|
const execa = require('execa');
|
||||||
const { parse } = require('dotenv');
|
const { parse } = require('dotenv');
|
||||||
|
const { name } = require('../package.json');
|
||||||
const main = require('apr-main');
|
const main = require('apr-main');
|
||||||
const map = require('apr-map');
|
const map = require('apr-map');
|
||||||
const series = require('apr-series');
|
const series = require('apr-series');
|
||||||
@ -129,7 +130,9 @@ const deploy = async () => {
|
|||||||
LOG(`${figures.arrowRight} deploy`);
|
LOG(`${figures.arrowRight} deploy`);
|
||||||
return execa('docker-compose', ['up', '-d', '--build'], {
|
return execa('docker-compose', ['up', '-d', '--build'], {
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
env
|
env: Object.assign({}, env, {
|
||||||
|
COMPOSE_PROJECT_NAME: `${name}-${env.CIRCLE_BRANCH}`
|
||||||
|
})
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user