-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Rename .env to .env.dist - Add host and port support - Update the README.md
- Loading branch information
Showing
6 changed files
with
43 additions
and
5 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,29 @@ | ||
# Allows us to set default values of env variables, see: https://docs.docker.com/compose/env-file/ | ||
# On Docker Compose v1.7.0 file separator if defining several is different from Win and nix, so we just use one for default prod setup | ||
COMPOSE_FILE=doc/docker-compose/base-prod.yml | ||
COMPOSE_DIR=. | ||
|
||
# You'll need to adjust this for Windows and XDB Linux systems: https://getcomposer.org/doc/03-cli.md#composer-home | ||
COMPOSER_HOME=~/.composer | ||
DATABASE_USER=ezp | ||
DATABASE_PASSWORD=SetYourOwnPassword | ||
DATABASE_NAME=ezp | ||
|
||
## Docker images (name and version) | ||
PHP_IMAGE=ezsystems/php:7.1-v1 | ||
PHP_IMAGE_DEV=ezsystems/php:7.1-v1-dev | ||
NGINX_IMAGE=nginx:stable | ||
MYSQL_IMAGE=mariadb:10.1 | ||
SELENIUM_IMAGE=selenium/standalone-firefox:2.53.1 | ||
REDIS_IMAGE=redis | ||
|
||
# HTTP host and port | ||
HTTP_HOST=localhost | ||
HTTP_PORT=8080 | ||
|
||
# App image name for use if you intend to push it to docker registry/hub. | ||
APP_PROD_IMAGE=my-ez-app | ||
APP_DOCKER_FILE=Dockerfile | ||
|
||
# Install config, used by .platform.app.yaml among others | ||
INSTALL_EZ_INSTALL_TYPE=clean |
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 |
---|---|---|
|
@@ -48,3 +48,4 @@ composer.lock | |
behat.yml | ||
.php_cs.cache | ||
auth.json | ||
.env |
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,4 @@ | ||
#!/bin/bash | ||
|
||
cp -i .env.dist .env | ||
docker-compose -f doc/docker-compose/install.yml up --abort-on-container-exit |
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
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
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