dragonfly/deploy/docker-compose
McCormickKneey 4f1046c851
rename container in compose config (#3351)
Signed-off-by: Cormick <cormick1080@gmail.com>
2024-06-28 15:05:46 +08:00
..
template fix: scheduler.template.yaml comments (#2526) 2023-07-07 18:31:04 +08:00
README.md Update docker compose document (#2997) 2024-01-05 18:39:13 +08:00
docker-compose.yaml rename container in compose config (#3351) 2024-06-28 15:05:46 +08:00
run.sh Update docker compose document (#2997) 2024-01-05 18:39:13 +08:00

README.md

Deploying Dragonfly with Container Directly

Currently, docker compose deploying is tested just in single host, no HA support.

Deploy with Docker Compose

The run.sh script will generate config and deploy all components with docker-compose.

Just run:

# Without network=host mode,the HOST IP would be the docker network gateway IP address, use the command below to
# obtain the ip address, "docker network inspect bridge -f '{{range .IPAM.Config}}{{.Gateway}}{{end}}'"
export IP=<host ip>
./run.sh

Delete containers with docker compose

docker compose down

Deploy without Docker Compose

Just run:

export IP=<host ip>
./run.sh container

Deploy with Other Container Runtime

Just run:

export IP=<host ip>
export RUNTIME=pouch
./run.sh container

Delete containers without docker compose

./run.sh delete_container