From ea3e94409ffd20c3e70b8c8d45b526a9a60df892 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 23 Nov 2018 12:27:48 +0000 Subject: [PATCH] Add Docksal --- .docksal/commands/init | 3 +++ .docksal/docksal.env | 7 +++++++ .docksal/docksal.yml | 7 +++++++ 3 files changed, 17 insertions(+) create mode 100755 .docksal/commands/init create mode 100644 .docksal/docksal.env create mode 100644 .docksal/docksal.yml diff --git a/.docksal/commands/init b/.docksal/commands/init new file mode 100755 index 000000000..3452cf24a --- /dev/null +++ b/.docksal/commands/init @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +fin start diff --git a/.docksal/docksal.env b/.docksal/docksal.env new file mode 100644 index 000000000..2925e61b4 --- /dev/null +++ b/.docksal/docksal.env @@ -0,0 +1,7 @@ +COMPOSE_PROJECT_NAME=dcbristol +DOCKSAL_STACK=default +DOCROOT=web + +MYSQL_DATABASE=default +MYSQL_USER=user +MYSQL_PASSWORD=user diff --git a/.docksal/docksal.yml b/.docksal/docksal.yml new file mode 100644 index 000000000..c02abfaeb --- /dev/null +++ b/.docksal/docksal.yml @@ -0,0 +1,7 @@ +version: "2.1" +services: + cli: + environment: + - MYSQL_DATABASE + - MYSQL_PASSWORD + - MYSQL_USER