dragonfly/deploy/docker-compose
chmod100 f6df29d372
fix: default repository does not exist and missing dependency containers (#1395)
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>
2023-06-28 17:33:28 +08:00
..
config feat: add seed peer logic (#1302) 2023-06-28 17:33:19 +08:00
template feat: dfdaemon add ns filter (#1379) 2023-06-28 17:33:27 +08:00
README.md fix: run.sh threw error on mac (#1285) 2023-06-28 17:33:17 +08:00
docker-compose.yaml chore: release v2.0.3 (#1360) 2023-06-28 17:33:26 +08:00
run.sh fix: default repository does not exist and missing dependency containers (#1395) 2023-06-28 17:33:28 +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:

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