I have two issues:
- my frappe server is setup with a port number, eg. my.domain.com:9123, my.domain2.com:9123. I created the sites by following this command
docker exec -it \ -e "SITE_NAME=$SITE_NAME" \ -e "DB_ROOT_USER=$DB_ROOT_USER" \ -e "MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD" \ -e "ADMIN_PASSWORD=$ADMIN_PASSWORD" \ -e "INSTALL_APPS=erpnext" \ <project-name>_erpnext-python_1 docker-entrypoint.sh new
$SITE_NAME – this SITE_NAME must be included port no., eg. my.domain.com:9123
I did this, and it works, but it has a issue that if my server port no. is changed, then site names also be changed too.
- backup command
docker exec -it \ -e "SITES=my.domain.com:9123" \ -e "WITH_FILES=1" \ <project-name>_erpnext-python_1 docker-entrypoint.sh backup
SITES – it has problem now which my domain name including “:” for port number.
I tried “” or “/” else possible skip character, but it does not works.
Is it any better method to handle the port number with domain?
Is it the direction as skip bench? I find it is no Bench at frappe_docker, but a new set commands, eg. the above new site and backup comamnds, instead of it.