# treelets-docker

# Linux install commands
sudo apt install docker 
sudo apt install docker-compose 
sudo apt install postgresql-client-common

# Build-rebuild
sudo docker-compose build

# Running
sudo docker-compose up -d

# View instances
sudo docker-compose ps

# View instances with container id
sudo docker ps

# Logs
sudo docker-compose logs

# Connect sql command
sudo docker exec -it {container_id} sh
psql -U treelets treelets
select * from info.config;
select version();
\q
exit

# Stop
sudo docker-compose stop

# Remove
sudo docker-compose down



