I installed frappe in ubuntu machine using docker by following the github steps. The only think I changed in the docker-compose.yml file is the port number. I changed it to 9002 instead of 9000. Bcz 9000 port is already used by other service. I wanted to self host this application.
Other docker services are also running with their own databases . docker ps :
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2c7bd5053bce mariadb:10.8 “docker-entrypoint.s…” 13 minutes ago Up 13 minutes 3306/tcp frappe_helpdesk-mariadb-1
88c0885bbaf8 redis:alpine “docker-entrypoint.s…” 13 minutes ago Up 13 minutes 6379/tcp frappe_helpdesk-redis-1
5f3b53e3f2e9 redis:6.2-alpine “docker-entrypoint.s…” 16 minutes ago Up 16 minutes 6379/tcp helpdesk_prod_setup-redis-cache-1
2b518877f088 redis:6.2-alpine “docker-entrypoint.s…” 16 minutes ago Up 16 minutes 6379/tcp helpdesk_prod_setup-redis-queue-1
078336511c2e mariadb:11.8 “docker-entrypoint.s…” 16 minutes ago Up 16 minutes (healthy) 3306/tcp helpdesk_prod_setup-db-1
Also init.sh file is already there in the directory where docker-compose.yml file exist. I didn’t do anything with init.sh file. I thought docker-compose.yml file will do what needs to done with the init.sh.
Should I run that file mannually ?
As I was following the youtube instructions. I Couldn’t install it. Changed the ports (9003) in devcontainer.json and compose.yml . What to do next. In the youtube video, the user is setting up with default port.
I this This the permission issue.
Create User group and give permission, I thing that is cover in that video.
Install frappe from link that is given in description.
You don’t need to change any port or something in compose.yml file.
Try this and let me know weather it is working or not.
I did clone frappe from the youtube description . And it-tools is already running in the system which is using port 9000 . There are other docker services that are running too. That’s why changed the ports in the compose.yml and devcontainer.json . Now I have done :
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
And then reopen in vscode with : code .
Asked for reopen the container. And I clicked. Still the same warning is shows. Should I page the error here ?
its the ubuntu server brother. Other services are running in the background. I just tried in another ubuntu machine, it passed that step with the default ports. Can you tell me if I want to change the port from 9000 to something, where should I change . I mean what files ?