Newer
Older
vueDummy / docker-compose.yml
@Benoit Donneaux Benoit Donneaux on 15 Jul 2022 520 bytes [DPR-1361] Add support for Docker and Jenkins PL
version: '3'
services:
  centos7:
    build: 
      context: lazyDir
      dockerfile: centos7.Dockerfile
      args:
        uid: "${_UID:-1000}"
        gid: "${_GID:-1000}"
    volumes:
      - .:/var/tmp/nodejs
    working_dir: /var/tmp/nodejs
    stdin_open: true
    tty: true
    hostname: nodejs.local
    container_name: nodejs.local
    command: bash
    networks:
      - bridge
    deploy:
      resources:
        limits:
          cpus: '1.5'
          memory: 256M

networks:
  bridge:
    external: true