Ubuntu 18:
sudo curl -L https://github.com/docker/compose/releases/download/1.20.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo apt update -y && sudo apt install docker.io -y
sudo service docker start
sudo usermod -a -G docker ubuntu
Ubuntu 16:
sudo curl -L https://github.com/docker/compose/releases/download/1.20.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo apt update -y && sudo apt install docker -y
sudo service docker start
sudo usermod -a -G docker ubuntu
Amazon Linux 2:
sudo curl -L https://github.com/docker/compose/releases/download/1.20.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo yum update -y && sudo yum install docker -y
sudo service docker start
sudo usermod -a -G docker ec2-user
Common:
- Create and edit
.env
file by copying.env.sample
file - Create and edit
custom/LocalSettings.post.php
file by copyingcustom/LocalSettings.post.php.sample
file - Create and edit
custom/nginx.conf
file by copyingcustom/nginx.conf.sample
file - Run
sudo ./run.sh up -d