generated from ddev/ddev-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.bref.yaml
39 lines (39 loc) · 1.43 KB
/
docker-compose.bref.yaml
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
#ddev-generated
services:
bref:
build:
context: ./craft-cloud/bref
container_name: ddev-${DDEV_PROJECT}-bref
expose:
- "8000"
env_file:
- ./craft-cloud/bref/.env.static
environment:
HANDLER: ${DDEV_DOCROOT}/index.php
DOCUMENT_ROOT: ${DDEV_DOCROOT}
VIRTUAL_HOST: $DDEV_HOSTNAME
HTTP_EXPOSE: "8000:8000"
HTTPS_EXPOSE: "8081:8000"
PHP_IDE_CONFIG: serverName=bref
CRAFT_ALLOW_SUPERUSER: 1
CRAFT_CLOUD: 1
CRAFT_CLOUD_PROJECT_ID: craft-cloud-project-id
CRAFT_CLOUD_ENVIRONMENT_ID: craft-cloud-environment-id
CRAFT_CLOUD_BUILD_ID: craft-cloud-build-id
CRAFT_CLOUD_STORAGE_ENDPOINT: http://minio.ddev-${DDEV_PROJECT}.orb.local:10101
CRAFT_CLOUD_CDN_BASE_URL: https://${DDEV_PROJECT}.ddev.site:10101/craft-cloud-project-id
CRAFT_CLOUD_ACCESS_KEY: ddevminio
CRAFT_CLOUD_ACCESS_SECRET: ddevminio
CRAFT_CLOUD_REGION: us-west-1
CRAFT_CLOUD_USE_ASSET_BUNDLE_CDN: 0
CRAFT_CLOUD_USE_QUEUE: 0
external_links:
- ddev-router:${DDEV_PROJECT}.ddev.site
labels:
com.ddev.site-name: ${DDEV_SITENAME}
com.ddev.approot: $DDEV_APPROOT
volumes:
- .:/mnt/ddev_config
- ${DDEV_APPROOT}:/var/task:ro
- ${DDEV_APPROOT}/.ddev/craft-cloud/bref/php/conf.d/php.ini:/opt/bref/etc/php/conf.d/ddev.ini
- ${DDEV_APPROOT}/.ddev/craft-cloud/bref/php/conf.dev.d/php.ini:/opt/bref/etc/php/conf.d/dev.ddev.ini