dockerode-compose
dockerode-compose copied to clipboard
docker-compose in Node.js using dockerode
I want to use process.env for port mapping. ``` version: '3.9' services: wordpress_with_theme_db: image: mysql:8.0 volumes: - db_data:/var/lib/mysql restart: always environment: MYSQL_ROOT_PASSWORD: wordpress MYSQL_DATABASE: wordpress MYSQL_USER: wordpress MYSQL_PASSWORD: wordpress wordpress_with_theme_wordpress:...
If the dockerfile defines the container name, then the calling services.down() fails as the down method looks for a container named with the following pattern: ``` projectName + '_' +...
Coming from the TypeScript world and trying to consume dockerode-compose in a project that uses TypeScript, I see a lot of benefits on translating the code into TypeScript (e.g. catching...
Hello everyone, Is there a possibility to run docker-compose up method with detached mode ? Thank you
I am trying to run this code but it's not working, I can run docker-compose.yml with docker cli without any problem. ``` var Dockerode = require('dockerode'); var DockerodeCompose = require('dockerode-compose');...
Just wondering about the status of this project to evaluate it for use in my project. I love the `dockerode` project for its large feature set, but the features of...
I have the following compose file: ```yaml services: web: build: . ports: - "8000:8000" environment: DB_HOST: db db: image: "postgres" environment: POSTGRES_PASSWORD: postgres ``` Running `compose.pull()` triggers the following error:...
I'm using the following Dockerfile inside of a nodejs repository. ``` dockerfile # Pull base image FROM node:latest # Set working directory WORKDIR /usr/src/app # Install app dependencies COPY package*.json...
hey, i will tackle the auth topic in the next weeks! i started working around it by using just dockerode: ```ts const requiredImages: string[] = [] for (const [_, value]...