mirror of https://github.com/calzoneman/sync.git
move docker docs out
This commit is contained in:
parent
937a5d1124
commit
868d3a4b68
29
README.md
29
README.md
|
@ -40,34 +40,7 @@ during US daytime hours.
|
|||
Docker
|
||||
------
|
||||
|
||||
Example for using the dockerfile on this repo.
|
||||
|
||||
```
|
||||
docker build -t sync .
|
||||
docker network create sync
|
||||
|
||||
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 \
|
||||
-e VIRTUAL_HOST=cytube.my.domain \
|
||||
-e VIRTUAL_PORT=8080 \
|
||||
-e LETSENCRYPT_HOST=cytube.my.domain \
|
||||
-e YOUTUBE_KEY=abcdefg \
|
||||
--network sync sync
|
||||
```
|
||||
|
||||
Feedback
|
||||
--------
|
||||
Instructions on how to deploy Cytube using Docker is in the `docs/docker.md` file.
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
Docker
|
||||
------
|
||||
|
||||
Cytube can be deployed using Docker.
|
||||
|
||||
TL;DR
|
||||
-----
|
||||
|
||||
Example for using the dockerfile on this repo.
|
||||
|
||||
```
|
||||
docker build -t sync .
|
||||
docker network create sync
|
||||
|
||||
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 \
|
||||
-e VIRTUAL_HOST=cytube.my.domain \
|
||||
-e VIRTUAL_PORT=8080 \
|
||||
-e LETSENCRYPT_HOST=cytube.my.domain \
|
||||
-e YOUTUBE_KEY=abcdefg \
|
||||
--network sync sync
|
||||
```
|
||||
|
||||
Explanation
|
||||
-----------
|
||||
|
||||
TODO
|
Loading…
Reference in New Issue