Skip to content

Commit

Permalink
made the mariadb example a bit more complete
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsiaw committed Sep 19, 2022
1 parent 9ada88c commit fb76a9a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit fb76a9a

Please sign in to comment.