version: '3'
services:
  web:
    build: .
    ports:
      - "9292:9292"
    volumes:
      - .:/app
    links:
      - redis
    depends_on:
      - redis
  redis:
    image: redis
    command: redis-server /etc/redis/redis.conf
    volumes:
      - ./redis.conf:/etc/redis/redis.conf
    expose:
      - 6379

version: '3'
services:
  web:
    build: .
    ports:
      - "9292:9292"
    volumes:
      - .:/app
    links:
      - redis
    depends_on:
      - redis
    tmpfs:
      - /tmp
  redis:
    image: redis
    command: redis-server /etc/redis/redis.conf
    volumes:
      - ./redis.conf:/etc/redis/redis.conf
    expose:
      - 6379

Make /tmp a real tmpfs
Make /tmp a real tmpfs
