Install docker
apt update apt upgrade apt install docker.io
Install docker compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.26.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose docker-compose --version
Clone the repository
Start services using docker-compose
cd docker_sig_app/sigdocapp
docker login
docker-compose up -d
Download application files and database
Download application files and database from backup url
tar -zxvf
Create and Restore database
mysql -h -p # get the default password from docker-compose.yml
###run below commands on mysql cli
create database sig;
grant all on sig.* to siguser@'%' identified by ''; #give password
mysql -h <serverlanip> sig < database_backup.sql -p
7. Copy application files
Application docker container use volume for web files
#check path of volume
docker volume inspect sigdocapp_app_data
#abobe command will show path of volume
#copy application files from sig directory to volume
#change file permission cd rm -rf app/cache mkdir app/cache chmod 777 app/cache -R chmod 777 app/logs -R
Change database configuration
change database_host IP in /app/config/parameters.yml file to lan ip of server # if LAN IP is not available then make it db
Now your application should work
Content type
Image
Digest
Size
174.1 MB
Last updated
almost 6 years ago
docker pull wefactorit/app-sig