This is under construction and can be change in any moment if you find some error send mail to
--------------------------------------------------------------------------------------------
Kosmitodev@gmail.com
--------------------------------------------------------------------------------------------
First we need change the docker repo the official repo (of Ubuntu Server) is not good on this case because docker compose come in other package not in the same
you can follow the guide here on this page
Install Using The Official Repository for Ubuntu in any case if is offline i left a copy inside of the spoiler
► Show Spoiler
Install using the apt repository
Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker apt repository. Afterward, you can install and update Docker from the repository.
Set up Docker's apt repository.
Code: Select all
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings # is not really neccesary this
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
Install the Docker packages.
To install the latest version, run:
Code: Select all
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Verify that the installation is successful by running the hello-world image:
This command downloads a test image and runs it in a container. When the container runs, it prints a confirmation message and exits.
You have now successfully installed and started Docker Engine.
Now we can follow next step, now usign the official github is going to install everything but for some reason work for me this method
first we pull the image from docker with
and now we pull from git the code of frappe like they say on
Github Page of Frappe Docker, later with go inside of the folder like this
Code: Select all
git clone https://github.com/frappe/frappe_docker
cd frappe_docker
there you can find the file pmw.yml on this file you can change the port and other thins (still i don´t tryit), using this command is going to build everything and go up the server on Port 8080
Remember if you are not Root use Sudo, is going to take a while depending of the power of the cpu if everything go ok is not going to say something go the browser to this URL
Code: Select all
# if you do it on a server use the ip server and remember open the port on the Firewall or Turn Off Temporaly
http://IPOFTHESERVER:8080
#if you do it locally on your pc
http://localhost:8080
Remember the Credentials for the First time are
Code: Select all
User: Administrator
Password: admin
and you do the initial Setup of the Site
Next time i will update with the Script for autostart the server when the server restart....