INNER CODE UNIT · JavaScript

startCompose

localstack/serverless-localstack · src/index.js:556

    const startCompose = () => {
      this.log(
        'Starting LocalStack using the provided docker-compose file. This can take a while.',
      );
      return exec(
        `docker-compose -f ${this.config.docker.compose_file} up -d`,
      ).then(getContainer);
    };

    return getContainer().then((containerID) => {
      if (containerID) {
        return;
      }

      if (this.config.docker && this.config.docker.compose_file) {
        return startCompose();
      }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…