-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-elasticms.yml
87 lines (85 loc) · 3.52 KB
/
docker-elasticms.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
services:
admin:
image: elasticms/admin:${EMS_VERSION}
depends_on:
- postgres
environment:
- TZ=Europe/Brussels
- PHP_FPM_MAX_CHILDREN=4
- PHP_FPM_REQUEST_MAX_MEMORY_IN_MEGABYTES=256
- CONTAINER_HEAP_PERCENT=0.8
- MAILER_URL=smtp://mailhog:1025
- EMSCO_TIKA_SERVER=http://tika:9998
- EMS_BACKEND_URL=${EMS_BACKEND_URL:-~}
- INSTANCE_ID=${INSTANCE_ID:-demo_}
- 'EMS_ELASTICSEARCH_HOSTS=["http://es01:9200","http://es02:9200","http://es03:9200"]'
- REDIS_HOST=redis
- REDIS_PORT=6379
- DB_HOST=postgres
- DB_DRIVER=pgsql
- DB_USER=${DB_USER:-demo}
- DB_PASSWORD=${DB_PASSWORD:-demo}
- DB_PORT=5432
- DB_NAME=${DB_NAME:-demo}
- DB_SCHEMA=${DB_SCHEMA:-public}
- S3_ACCESS_KEY_ID=accesskey
- S3_SECRET_ACCESS_KEY=secretkey
- S3_DEFAULT_REGION=us-east-1
- S3_ENDPOINT_URL=http://minio:9000
- S3_BUCKET_NAME=${S3_BUCKET_NAME:-demo}
- EMSF_AUTHKEY=${EMSF_AUTHKEY:-~}
- TRUSTED_PROXIES=127.0.0.1,REMOTE_ADDR
- TRUSTED_HOSTS=localhost,*.localhost
- APP_SECRET=ThisIsSecret
volumes:
- ./skeleton:/opt/src/local/${INSTANCE_ID:-demo_}preview
- ./configs/elasticms-admin:/opt/configs
- ./configs/admin:/opt/src/admin
- ./configs/document:/opt/src/document
# - ../elasticms-admin/config:/opt/src/config
# - ../EMS/client-helper-bundle:/opt/src/vendor/elasticms/client-helper-bundle
# - ../EMS/common-bundle:/opt/src/vendor/elasticms/common-bundle
# - ../EMS/core-bundle:/opt/src/vendor/elasticms/core-bundle
# - ../EMS/form-bundle:/opt/src/vendor/elasticms/form-bundle
# - ../EMS/helpers:/opt/src/vendor/elasticms/helpers
# - ../EMS/submission-bundle:/opt/src/vendor/elasticms/submission-bundle
# - ../EMS/xliff:/opt/src/vendor/elasticms/xliff
web:
image: elasticms/website-skeleton:${EMS_VERSION}
environment:
- APP_ENV=dev
- TZ=Europe/Brussels
- PHP_FPM_MAX_CHILDREN=8
- PHP_FPM_REQUEST_MAX_MEMORY_IN_MEGABYTES=64
- CONTAINER_HEAP_PERCENT=0.8
- MAILER_URL=smtp://mailhog:1025
- EMS_BACKEND_URL=${EMS_BACKEND_URL:-~}
- INSTANCE_ID=${INSTANCE_ID:-demo_}
- EMSF_AUTHKEY=${EMSF_AUTHKEY:-~}
- 'EMS_ELASTICSEARCH_HOSTS=["http://es01:9200","http://es02:9200","http://es03:9200"]'
- REDIS_HOST=redis
- REDIS_PORT=6379
- S3_ACCESS_KEY_ID=accesskey
- S3_SECRET_ACCESS_KEY=secretkey
- S3_DEFAULT_REGION=us-east-1
- S3_ENDPOINT_URL=http://minio:9000
- S3_BUCKET_NAME=${S3_BUCKET_NAME:-demo}
- TRUSTED_PROXIES=127.0.0.1,REMOTE_ADDR
- TRUSTED_HOSTS=localhost,*.localhost
- EMSCH_ASSET_LOCAL_FOLDER=skeleton
- VARNISH_ENABLED=true
volumes:
- ./configs/elasticms-web:/opt/configs
- ./dist:/opt/src/public/skeleton:ro
- ./configs/admin:/opt/src/admin
- ./configs/document:/opt/src/document
- ./skeleton:/opt/src/local/${INSTANCE_ID:-demo_}ma_preview
- ./skeleton:/opt/src/local/${INSTANCE_ID:-demo_}ma_live
- ./skeleton:/opt/src/local/skeleton
# - ../elasticms-web/config:/opt/src/config
# - ../EMS/client-helper-bundle:/opt/src/vendor/elasticms/client-helper-bundle
# - ../EMS/common-bundle:/opt/src/vendor/elasticms/common-bundle
# - ../EMS/form-bundle:/opt/src/vendor/elasticms/form-bundle
# - ../EMS/helpers:/opt/src/vendor/elasticms/helpers
# - ../EMS/submission-bundle:/opt/src/vendor/elasticms/submission-bundle
# - ../EMS/xliff:/opt/src/vendor/elasticms/xliff