services:
  grav:
    image: getgrav/grav:latest
    container_name: tsysstatic-dev-grav
    ports:
      - "12000:80"
    volumes:
      # Grav core
      - grav_data:/var/www/html
      # Multi-site setup
      - ./setup.php:/var/www/html/setup.php:ro
      # Per-site page mounts (Grav pages/)
      - ../charters.turnsys.com/pages:/var/www/html/user/env/charters.turnsys.com/pages:ro
      - ../plan.afabn.org/pages:/var/www/html/user/env/plan.afabn.org/pages:ro
      - ../plan.ap4ap.org/pages:/var/www/html/user/env/plan.ap4ap.org/pages:ro
      - ../plan.ezeda.org/pages:/var/www/html/user/env/plan.ezeda.org/pages:ro
      - ../plan.ezpodstack.org/pages:/var/www/html/user/env/plan.ezpodstack.org/pages:ro
      - ../plan.hfnoc.net/pages:/var/www/html/user/env/plan.hfnoc.net/pages:ro
      - ../plan.knownelement.com/pages:/var/www/html/user/env/plan.knownelement.com/pages:ro
      - ../plan.meetmorse.com/pages:/var/www/html/user/env/plan.meetmorse.com/pages:ro
      - ../plan.merchantsofhope.org/pages:/var/www/html/user/env/plan.merchantsofhope.org/pages:ro
      - ../plan.rackrental.net/pages:/var/www/html/user/env/plan.rackrental.net/pages:ro
      - ../plan.redwfo.com/pages:/var/www/html/user/env/plan.redwfo.com/pages:ro
      - ../plan.rwscp.net/pages:/var/www/html/user/env/plan.rwscp.net/pages:ro
      - ../plan.sidedoorgroup.org/pages:/var/www/html/user/env/plan.sidedoorgroup.org/pages:ro
      - ../plan.sol-calc.com/pages:/var/www/html/user/env/plan.sol-calc.com/pages:ro
      - ../plan.suborbital-systems.com/pages:/var/www/html/user/env/plan.suborbital-systems.com/pages:ro
      - ../plan.teamrental.net/pages:/var/www/html/user/env/plan.teamrental.net/pages:ro
      - ../plan.thecampustradingcompany.com/pages:/var/www/html/user/env/plan.thecampustradingcompany.com/pages:ro
      - ../plan.thepeernet.com/pages:/var/www/html/user/env/plan.thepeernet.com/pages:ro
      - ../plan.turnsys.com/pages:/var/www/html/user/env/plan.turnsys.com/pages:ro
      - ../plan.yourdreamnamehere.com/pages:/var/www/html/user/env/plan.yourdreamnamehere.com/pages:ro
      - ../plan.startinglineproductions.com/pages:/var/www/html/user/env/plan.startinglineproductions.com/pages:ro
    restart: unless-stopped

volumes:
  grav_data:
