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
# Variables | |
APPENV=local | |
DBHOST=localhost | |
DBNAME=discussion_forum | |
DBUSER=root | |
DBPASSWD=root123 | |
apt-get -qq update --fix-missing > /dev/null 2>&1 | |
echo -e "\n--- Install base packages ---\n" | |
apt-get -y install vim curl mcrypt build-essential python-software-properties git software-properties-common zip > /dev/null 2>&1 |
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
FROM debian:stretch | |
RUN apt-get update --fix-missing && apt-get upgrade -y && apt-get install -y \ | |
vim build-essential gcc curl wget make lsb-release apt-transport-https ca-certificates | |
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg | |
RUN echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php7.3.list | |
RUN apt-get update --fix-missing |
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
version: "3.7" | |
services: | |
metabase: | |
container_name: metabase | |
image: metabase/metabase:v0.35.4 | |
ports: | |
- "80:3000" | |
environment: | |
- MB_DB_FILE=/metabase-data/metabase.db | |
volumes: |
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
<?php | |
$config = new \PhpCsFixer\Config(); | |
$config->setRules([ | |
'@PSR2' => true, | |
'array_indentation' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
'combine_consecutive_unsets' => true, | |
'class_attributes_separation' => ['elements' => ['method' => 'one']], | |
'multiline_whitespace_before_semicolons' => true, |