I see some git changes this week and the installation files seem different. Are there new documentation changes needed?
I just want to try a single bench install.
I see some git changes this week and the installation files seem different. Are there new documentation changes needed?
I just want to try a single bench install.
did you check the updated readme?
check this if it helps frappe_docker/setup-options.md at main · frappe/frappe_docker · GitHub
if you want old compose file, check the compat branch
WARNING: The Docker Engine you’re using is running in swarm mode.
Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.
To deploy your application across the swarm, use docker stack deploy
.
Creating network “fc-erp_default” with the default driver
Creating volume “fc-erp_assets” with default driver
Creating volume “fc-erp_sites” with default driver
Creating fc-erp_configurator_1 … done
ERROR: for websocket Container “6d46b21c3343” exited with code 1.
ERROR: for backend Container “6d46b21c3343” exited with code 1.
ERROR: for queue-short Container “6d46b21c3343” exited with code 1.
ERROR: for queue-long Container “6d46b21c3343” exited with code 1.
ERROR: for scheduler Container “6d46b21c3343” exited with code 1.
ERROR: for queue-default Container “6d46b21c3343” exited with code 1.
ERROR: Encountered errors while bringing up the project.
I can try to turn off swarm mode to see if that helps.
Same error
me@docker:~/frappe_docker$ docker-compose --project-name fc-erp -f ~/gitops/docker-compose.yml up -d
Starting fc-erp_configurator_1 … done
ERROR: for websocket Container “6d46b21c3343” exited with code 1.
ERROR: for backend Container “6d46b21c3343” exited with code 1.
ERROR: for queue-long Container “6d46b21c3343” exited with code 1.
ERROR: for scheduler Container “6d46b21c3343” exited with code 1.
ERROR: for queue-short Container “6d46b21c3343” exited with code 1.
ERROR: for queue-default Container “6d46b21c3343” exited with code 1.
ERROR: Encountered errors while bringing up the project.
If you need more help create issue Sign in to GitHub · GitHub
git clone https://github.com/frappe/frappe_docker
cd frappe_docker
cp example.env .env
nano .env # make changes to environment variables
docker-compose -f compose.yaml \
-f overrides/compose.erpnext.yaml \
-f overrides/compose.mariadb.yaml \
-f overrides/compose.redis.yaml \
-f overrides/compose.https.yaml \
up -d
If you want old docker-compose
git clone https://github.com/frappe/frappe_docker -b compat
cd frappe_docker
cp env-production .env
nano .env # make changes to environment variables
docker-compose up -d
# create site
docker-compose exec erpnext-python bench new-site ${SITE_NAME} --mariadb-root-username=${DB_ROOT_USER} --mariadb-root-password=${MYSQL_ROOT_PASSWORD} --admin-password=${ADMIN_PASSWORD} --install-app=${INSTALL_APPS} --db-type=mariadb --no-mariadb-socket
I got this error in new setup.