|
| 1 | +# Default settings in order to set up Ibexa DXP installation on Ibexa Cloud dev instances |
| 2 | +# |
| 3 | +# Note: Like on own servers, make sure to tune Redis/Solr/Varnish/MySQL memory/disk size for your installation to avoid issues. |
| 4 | +# Reach out to platform.sh support to get help on this and insight into your disk/memory usage. |
| 5 | + |
| 6 | +mysqldb: |
| 7 | + type: mariadb:10.4 |
| 8 | + disk: 1024 |
| 9 | + configuration: |
| 10 | + schemas: |
| 11 | + - main |
| 12 | + # Uncomment if you want to store dfs tables in a separate database: |
| 13 | + #- dfs |
| 14 | + endpoints: |
| 15 | + user: |
| 16 | + default_schema: main |
| 17 | + privileges: |
| 18 | + main: admin |
| 19 | + # Uncomment if you want to store dfs tables in a separate database: |
| 20 | + #dfs: |
| 21 | + # default_schema: dfs |
| 22 | + # privileges: |
| 23 | + # dfs: admin |
| 24 | + |
| 25 | +# For use by Symfony Cache (used by Ibexa DXP SPI Persistence Cache) |
| 26 | +rediscache: |
| 27 | + type: 'redis:5.0' |
| 28 | + # For cache you might need to increase the size of your plan if your installation has a sizeable amount of content. |
| 29 | + # Check with platform.sh staff if in doubt on this, and if it would make sense to configure larger redis size here. |
| 30 | + # size: L |
| 31 | + configuration: |
| 32 | + # Note: If using RedisTagAwareAdapter it requires one of the 'volatile-*' eviction policies |
| 33 | + # https://docs.platform.sh/configuration/services/redis.html#eviction-policy |
| 34 | + # https://doc.ezplatform.com/en/latest/getting_started/requirements/ |
| 35 | + maxmemory_policy: volatile-lru |
| 36 | + |
| 37 | +# If you wish to have a separate Redis instance for sessions, uncomment |
| 38 | +# this service and the corresponding relationship in .platform.app.yaml. |
| 39 | +#redissession: |
| 40 | +# type: 'redis:5.0' |
| 41 | +# configuration: |
| 42 | +# maxmemory_policy: allkeys-lru |
| 43 | +# |
| 44 | +# Alternatively if you have a requirement that sessions are persisted across server/redis restarts, |
| 45 | +# have storage space to spare for this, and don't mind a bit slower instance type of redis |
| 46 | +#redissession: |
| 47 | +# type: redis-persistent:5.0 |
| 48 | +# Disk size should be bigger than Redis' "maxmemory" setting due to https://redis.io/topics/persistence#log-rewriting. |
| 49 | +# The memory given to Redis depends on your plan and "size: ". Adjust "disk: " accordingly. |
| 50 | +# disk: 512 |
| 51 | +# configuration: |
| 52 | +# maxmemory_policy: allkeys-lru |
| 53 | + |
| 54 | +# If you wish to use solr, uncomment this service and the corresponding relationship in .platform.app.yaml. |
| 55 | +# Also, you need to generate the config using: |
| 56 | +# vendor/ezsystems/ezplatform-solr-search-engine/bin/generate-solr-config.sh |
| 57 | +# Multi core setup is currently not supported on Platform.sh. Sharding does not work as the cores are |
| 58 | +# unable to reach each other |
| 59 | +#solrsearch: |
| 60 | +# type: solr:7.7 |
| 61 | +# disk: 512 |
| 62 | +# configuration: |
| 63 | +# configsets: |
| 64 | +# mainconfig: !archive "configsets/solr6" |
| 65 | +# cores: |
| 66 | +# collection1: |
| 67 | +# core_properties: | |
| 68 | +# configSet=mainconfig |
| 69 | +# schema=schema.xml |
| 70 | +# endpoints: |
| 71 | +# collection1: |
| 72 | +# core: collection1 |
| 73 | + |
| 74 | +# If you wish to use elasticsearch, uncomment this service and the corresponding relationship in .platform.app.yaml. |
| 75 | +#elasticsearch: |
| 76 | +# type: elasticsearch:7.7 |
| 77 | +# disk: 512 |
| 78 | + |
| 79 | +# Due to logic in app/config/env/platformsh.php, do not change the service name to something different than 'varnish' |
| 80 | +varnish: |
| 81 | + type: 'varnish:6.0' |
| 82 | + relationships: |
| 83 | + app: "app:http" |
| 84 | + configuration: |
| 85 | + vcl: !include |
| 86 | + type: string |
| 87 | + path: varnish.vcl |
0 commit comments