Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# .env.caddy.php-bluegreen.redis.database.prod | ||
# | ||
# Runs docker with a production setup | ||
# | ||
# - 2 php services: php-blue and php-green | ||
# - redis for sessions | ||
# - node-build container for building JavaScript and CSS | ||
# - database running in docker | ||
# | ||
# @see https://github.com/api-platform/api-platform/pull/1965 | ||
# @see https://docs.docker.com/compose/environment-variables/envvars/#compose_file | ||
# | ||
# Usage: copy to .env so docker composer can use it | ||
SERVER_NAME="localhost" | ||
CADDY_MERCURE_JWT_SECRET=${CADDY_MERCURE_JWT_SECRET:-ChangeMe} | ||
POSTGRES_HOST=database | ||
GIT_SHA=$GITHUB_SHA | ||
COMPOSE_FILE=docker-compose.bluegreen.yml:docker-compose.database.yml:docker-compose.bluegreen.database.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# .env.caddy.php-bluegreen.redis.prod | ||
# | ||
# Runs docker with a production setup (no database in docker) | ||
# | ||
# - 2 php services: php-blue and php-green | ||
# - redis for sessions | ||
# - node-build container for building JavaScript and CSS | ||
# - database running on host (local would be on Mac) | ||
# | ||
# @see https://github.com/api-platform/api-platform/pull/1965 | ||
# @see https://docs.docker.com/compose/environment-variables/envvars/#compose_file | ||
# | ||
# Usage: copy to .env so docker composer can use it | ||
CADDY_MERCURE_JWT_SECRET=${CADDY_MERCURE_JWT_SECRET:-ChangeMe} | ||
POSTGRES_USER=${POSTGRES_USER:-app} | ||
POSTGRES_PASSWORD='' | ||
POSTGRES_HOST=host.docker.internal | ||
GIT_SHA=$GITHUB_SHA | ||
COMPOSE_FILE=docker-compose.bluegreen.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# .env.caddy.php.database.dev | ||
# | ||
# Start caddy, php (from the dev base), and the database | ||
# | ||
# Also used in CI in order to be able to run tests | ||
# | ||
# @see https://github.com/api-platform/api-platform/pull/1965 | ||
# @see https://docs.docker.com/compose/environment-variables/envvars/#compose_file | ||
# | ||
# Usage: copy to .env so docker composer can use it | ||
SERVER_NAME="localhost" | ||
POSTGRES_HOST=database | ||
GIT_SHA=$GITHUB_SHA | ||
COMPOSE_FILE=docker-compose.yml:docker-compose.override.yml:docker-compose.database.yml |