Closed RashiqAzhan closed 2 years ago
which yq
are you using?
I'm using the one written in golang https://github.com/mikefarah/yq
which
yq
are you using?I'm using the one written in golang https://github.com/mikefarah/yq
That's the one I'm using.
can you share the output generated? the gitops/compose.yaml
I would but there isn't any, if it exists, I can't find it. There isn't any gitops folder in my home folder or inside the cloned project.
you need to generate the config and then use it to run the project.
I ran the command again but I manually created the gitops
folder in my home
folder and this is what is inside the compose.yaml
.
{services: {proxy: {command: --providers.docker.swarmmode}}}
clearly the compose is invalid. it needs to have more than 7 services.
try docker compose V2?
The output file came through. I had to use docker compose
instead of docker-compose
. But cd-ing into the gitops folder and running docker stack deploy -c compose.yaml erpnext
by inserting version: 3
the compose.yaml file produces
services.websocket.volumes.0 must be a string
Without the version: 3
it says
unsupported Compose file version: 1.0
Is the docker swarm docs incomplete somehow or am I missing something?
I'll try to setup and improve docs. I've not run through swarm docs in live environment anywhere.
I'll try to setup and improve docs. I've not run through swarm docs in live environment anywhere.
Would really appreciate the update. ERPNext works fine on local machines but getting it deployed on a VPS has been quite a challenge.
move discussion to #717
Description of the issue
Can't deploy using docker-swarm using the guide.
Context information (for bug reports)
OS: Almalinux 8 (CentOS 8 alternative) Docker version 20.10.13, build a224086 docker-compose version 1.27.4, build 40524192 yq (https://github.com/mikefarah/yq/) version 4.22.1
Steps to reproduce the issue
Observed result
The Docker swarm doesn't start.
Expected result
The swarm should just start.
Stacktrace / full error message if available