version: '3'

volumes:
  nodecache: {}
  redisdata: {}
  mgpassdata: {}

services:
  express:
    build:
      context: ./build/pass
    environment:
      - NODE_ENV=development
      - TZ=Europe/Berlin
    working_dir: /app
    volumes:
      - ./pass:/app
      - mgpassdata:/data
    ports:
      - 8080:3000
  redis:
    build:
      context: ./build/redis
    volumes:
      - redisdata:/data
    restart: unless-stopped
