Skip to content

Commit fb76a9a

Browse files
committed
made the mariadb example a bit more complete
1 parent 9ada88c commit fb76a9a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,16 @@ Example for using the dockerfile on this repo.
4242
docker build -t sync .
4343
docker network create sync
4444
45-
docker run --rm -d --name sync-db --network sync mariadb
45+
docker run -d --name sync-db \
46+
-e MARIADB_ROOT_PASSWORD='abcdefg123456' \
47+
-e MARIADB_DATABASE=cytube \
48+
-e MARIADB_USER=cytube \
49+
-e MARIADB_PASSWORD=aaaaa \
50+
--network sync mariadb
4651
4752
docker run -d --name sync-web \
4853
-e MYSQL_HOST=sync-db \
54+
-e MYSQL_PASSWORD=aaaaa \
4955
-e ROOT_URL=https://cytube.my.domain \
5056
-e IO_ROOT_URL=https://cytube.my.domain \
5157
-e ROOT_DOMAIN=cytube.my.domain \

0 commit comments

Comments
 (0)