From fb76a9a95342e208fe6bde615d4ee8e5b0257c23 Mon Sep 17 00:00:00 2001 From: David Siaw Date: Mon, 19 Sep 2022 19:24:25 +0000 Subject: [PATCH] made the mariadb example a bit more complete --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a1a8f1e0..1044a511b 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,16 @@ Example for using the dockerfile on this repo. docker build -t sync . docker network create sync -docker run --rm -d --name sync-db --network sync mariadb +docker run -d --name sync-db \ +-e MARIADB_ROOT_PASSWORD='abcdefg123456' \ +-e MARIADB_DATABASE=cytube \ +-e MARIADB_USER=cytube \ +-e MARIADB_PASSWORD=aaaaa \ +--network sync mariadb docker run -d --name sync-web \ -e MYSQL_HOST=sync-db \ +-e MYSQL_PASSWORD=aaaaa \ -e ROOT_URL=https://cytube.my.domain \ -e IO_ROOT_URL=https://cytube.my.domain \ -e ROOT_DOMAIN=cytube.my.domain \