Dragonfly2 starts with dependencies on mysql and redis, but they do not exist in the script. and the default mirror repository d7yio does not exist. Also some of the containers that depend on it when starting may not be ready yet, so I added --restart=always. Signed-off-by: LetFu <letfu@outlook.com> |
||
|---|---|---|
| .. | ||
| config | ||
| template | ||
| README.md | ||
| docker-compose.yaml | ||
| run.sh | ||
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:
export IP=<host ip>
./run.sh
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