Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 1.63 KB

README.md

File metadata and controls

67 lines (47 loc) · 1.63 KB

Build production environment

@startuml
digraph G {
    www [shape=doublecircle]
    httpserver [label="HTTP server", shape=component, style=filled, fillcolor=lightblue]
    symfony [label="Symfony", shape=oval]
    redisearch [label="RediSearch", shape=box3d]
    config [label="Configuration", shape=note]
    database [label="Database", shape=cylinder, style=filled, fillcolor=lightblue]
    session [label="Session", shape=folder, style=filled, fillcolor=lightblue]
    cache [label="Cache", shape=folder, style=filled, fillcolor=lightblue]

    www -> httpserver -> symfony -> {redisearch, config, database, session, cache}
}
@enduml

Changeable component

HTTP Server

(Base on Symfony documentation)

Database

Session

  • Redis
  • Filesystem
  • Relational Database
  • MongoDB

See Symfony documentation

Cache

  • APCu
  • Memory
  • Filesystem
  • Doctrine
  • Memcached
  • Database
  • PSR
  • Redis

See Symfony documentation

Other components

RediSearch

See RediSearch documentation.

Environment variable

The most common place to set environment variables are in the HTTP server configurations.

See Nginx or Apache configurations to see examples.