This repository has been archived by the owner on Aug 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#6 Improving docker composition and makefile.
- Loading branch information
Showing
15 changed files
with
350 additions
and
256 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 |
---|---|---|
@@ -1,7 +1,44 @@ | ||
# docker4drupal variables. | ||
PROJECT_NAME=falcon | ||
PROJECT_BASE_URL=flc.local | ||
|
||
DB_NAME=drupal | ||
DB_USER=drupal | ||
DB_PASSWORD=drupal | ||
DB_ROOT_PASSWORD=password | ||
DB_DRIVER=mysql | ||
|
||
DB_HOST_GIFTS=be_gifts_mariadb | ||
DB_HOST_DONATIONS=be_donations_mariadb | ||
|
||
MARIADB_TAG=10.1-3.1.3 | ||
PHP_TAG=7.1-dev-4.4.2 | ||
# MacOS. | ||
# PHP_TAG=7.1-dev-macos-4.4.2 | ||
NGINX_TAG=8-1.13-4.1.0 | ||
|
||
# Docker-compose environment variables - see https://docs.docker.com/compose/reference/envvars/ | ||
COMPOSE_FILE=./docker/docker-compose.yml:./docker/docker-compose.override.yml | ||
COMPOSE_PROJECT_NAME=falcon | ||
|
||
# Base URL for local development. | ||
# All microservices are subdomains to this one. | ||
PROJECT_BASE_URL=flc.local | ||
MODULES_GIFTS=falcon_demo_content default_content better_normalizers hal | ||
MODULES_DONATIONS=falcon_demo_content default_content better_normalizers hal | ||
|
||
# Platform.sh related variables. | ||
PLATFORM_PROJECT_ID=kkgqvmy5atnt2 | ||
PLATFORM_ENVIRONMENT=master | ||
PLATFORM_APPLICATION_GIFTS=backend-gifts | ||
PLATFORM_APPLICATION_DONATIONS=backend-donations | ||
PLATFORM_RELATIONSHIP_GIFTS=database | ||
PLATFORM_RELATIONSHIP_DONATIONS=database | ||
|
||
# Local environment variables. | ||
ENV=local-dev | ||
BACKUP_DIR=backup | ||
DB_DUMP_NAME_GIFTS=dump-gifts | ||
DB_DUMP_NAME_DONATIONS=dump-donations | ||
# On Linux machines you can put DB into memory - /dev/shm | ||
# Possible values: ./mysql | /dev/shm | ||
MYSQL_DATA_DIR=./mysql | ||
MYSQL_DATA_DIR_GIFTS=gifts | ||
MYSQL_DATA_DIR_DONATIONS=donations |
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 |
---|---|---|
@@ -1,11 +1,17 @@ | ||
# PHPStorm folder. | ||
# PHPStorm directory. | ||
.idea | ||
|
||
# Mac artifacts. | ||
# MacOS Desktop Services Store files. | ||
.DS_Store | ||
|
||
# Locally generated env file. | ||
.env | ||
# Docker mysql storage. | ||
/docker/mysql/* | ||
!/docker/mysql/.gitkeep | ||
|
||
# Locally generated docker file with overrides. | ||
docker/docker-compose.override.yml | ||
# DB dumps/backups. | ||
/backup/* | ||
!/backup/.gitkeep | ||
|
||
# Environment overrides. | ||
/.env | ||
/docker/docker-compose.override.yml |
Oops, something went wrong.