wikimedia/mediawiki-extensions-Wikibase

View on GitHub
view/lib/wikibase-tainted-ref/docker-compose.yml

Summary

Maintainability
Test Coverage
version: '2'

services:
  node:
    build:
      context: ./
      dockerfile: ./Dockerfile
    image: wmde/tainted-ref-node
    volumes:
      - '~/.npm:/.npm'
      - '.:/src/view/lib/wikibase-tainted-ref'
      - './../../..:/src:ro'
    working_dir: /src/view/lib/wikibase-tainted-ref
    environment:
      - NODE_ENV
      - NODE_DEBUG
      - DEBUG
    security_opt:
      - label=disable

  csr:
    extends:
      service: node
    ports:
      - '${CSR_PORT}:8080'
    command: 'npm run-script serve'