File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,31 @@ during US daytime hours.
4040Docker
4141------
4242
43- ` docker pull davidsiaw/sync:3.0 `
43+ Example for using the dockerfile on this repo.
44+
45+ ```
46+ docker build -t sync .
47+ docker network create sync
48+
49+ docker run -d --name sync-db \
50+ -e MARIADB_ROOT_PASSWORD='abcdefg123456' \
51+ -e MARIADB_DATABASE=cytube \
52+ -e MARIADB_USER=cytube \
53+ -e MARIADB_PASSWORD=aaaaa \
54+ --network sync mariadb
55+
56+ docker run -d --name sync-web \
57+ -e MYSQL_HOST=sync-db \
58+ -e MYSQL_PASSWORD=aaaaa \
59+ -e ROOT_URL=https://cytube.my.domain \
60+ -e IO_ROOT_URL=https://cytube.my.domain \
61+ -e ROOT_DOMAIN=cytube.my.domain \
62+ -e VIRTUAL_HOST=cytube.my.domain \
63+ -e VIRTUAL_PORT=8080 \
64+ -e LETSENCRYPT_HOST=cytube.my.domain \
65+ -e YOUTUBE_KEY=abcdefg \
66+ --network sync sync
67+ ```
4468
4569Feedback
4670--------
You can’t perform that action at this time.
0 commit comments