File tree Expand file tree Collapse file tree 2 files changed +19
-14
lines changed
Expand file tree Collapse file tree 2 files changed +19
-14
lines changed Original file line number Diff line number Diff line change 1+ # E2E environment override
2+ services :
3+ e2e :
4+ build :
5+ context : .
6+ dockerfile : ./docker/front/Dockerfile.e2e
7+ environment :
8+ - SERVER_BASE_URL=https://${E2E_SERVER_NAME:-gally.e2e}
9+ - API_SERVER_BASE_URL=https://${E2E_SERVER_NAME:-gally.e2e}/${API_ROUTE_PREFIX:-api}
10+ depends_on :
11+ - proxy
12+ extra_hosts :
13+ - ${E2E_SERVER_NAME:-gally.e2e}:host-gateway
Original file line number Diff line number Diff line change 11# Development environment override
2+ include :
3+ - compose.e2e.yml
24services :
35
46 certbot :
@@ -21,6 +23,7 @@ services:
2123 - ./docker/php/conf.d/app.dev.ini:/usr/local/etc/php/conf.d/app.dev.ini:ro,z
2224 environment :
2325 - APP_ENV=${APP_ENV:-dev}
26+ - TRUSTED_HOSTS=${TRUSTED_HOSTS:-^${SERVER_NAME:-|gally.localhost}|localhost|${E2E_SERVER_NAME:-gally.e2e}|php$$}
2427 # See https://xdebug.org/docs/all_settings#mode
2528 - XDEBUG_MODE=${XDEBUG_MODE:-off}
2629 - PHP_IDE_CONFIG=serverName=gally
@@ -41,6 +44,9 @@ services:
4144 environment :
4245 # On Linux, you may want to comment the following line for improved performance
4346 - WATCHPACK_POLLING="true"
47+ - NEXT_PUBLIC_ENTRYPOINT
48+ - NEXT_PUBLIC_API_URL
49+ - REACT_APP_API_URL
4450
4551 example :
4652 user : ${UUID?You must set UUID env var}:${GUID?You must set GUID env var}
@@ -56,17 +62,3 @@ services:
5662 environment :
5763 - PUBLIC_URL=https://${SERVER_NAME:-gally.localhost}/example
5864 - REACT_APP_API_URL=https://${SERVER_NAME:-gally.localhost}/${API_ROUTE_PREFIX:-api}
59-
60- e2e :
61- build :
62- context : .
63- dockerfile : ./docker/front/Dockerfile.e2e
64- environment :
65- - SERVER_BASE_URL=https://${SERVER_NAME:-gally.localhost}
66- - API_SERVER_BASE_URL=https://${API_SERVER_NAME:-api.gally.localhost}
67- depends_on :
68- - proxy
69- extra_hosts :
70- - ${SERVER_NAME:-gally.localhost}:host-gateway
71- - ${API_SERVER_NAME:-api.gally.localhost}:host-gateway
72-
You can’t perform that action at this time.
0 commit comments