version: '3'

services:
  postgres:
    image: postgres:10.5
    env_file: .env
    restart: unless-stopped
    volumes:
      - "./data/postgres:/var/lib/postgresql/data"
  plume:
    image: plumeorg/plume:latest
    env_file: .env
    restart: unless-stopped
    volumes:
      - "./data/plume/static/media:/app/static/media"
      - "./.env:/app/.env"
      - "./search_index:/app/search_index"
    ports:
      - "127.0.0.1:7878:7878"
