mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-21 04:42:20 -06:00
fixed docker files and quoted message option
This commit is contained in:
7
docker.sh
Normal file → Executable file
7
docker.sh
Normal file → Executable file
@@ -8,8 +8,11 @@ then
|
||||
docker network create -d bridge ${NET}
|
||||
fi
|
||||
|
||||
sudo mkdir -p /data/instances
|
||||
sudo mkdir -p ./docker-data/instances
|
||||
sudo mkdir -p ./docker-data/mongodb
|
||||
sudo mkdir -p ./docker-data/mongodb/data
|
||||
sudo mkdir -p ./docker-data/mongodb/configdb
|
||||
|
||||
docker build -t ${IMAGE} .
|
||||
|
||||
docker run -d --restart 'always' --name 'evolution_api' --mount 'type=bind,source=/data/instances,target=/evolution/instances' --publish '8083:8083' --hostname 'evolution' --network ${NET} ${IMAGE}
|
||||
docker compose up -d
|
||||
Reference in New Issue
Block a user