mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-09-29 12:49:13 +02:00
ビルドとデプロイコマンドを追加
This commit is contained in:
parent
29cfcfdeaf
commit
cc6c66305f
23
deploy.sh
Normal file
23
deploy.sh
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --detach \
|
||||
--name taiko-mongo \
|
||||
--volume taiko-mongo:/data/db \
|
||||
mongo
|
||||
|
||||
docker run --detach \
|
||||
--name taiko-redis \
|
||||
--volume taiko-redis:/data \
|
||||
redis
|
||||
|
||||
docker run --detach \
|
||||
--name taiko \
|
||||
--link taiko-mongo \
|
||||
--link taiko-redis \
|
||||
--env TAIKO_WEB_MONGO_HOST=taiko-mongo \
|
||||
--env TAIKO_WEB_REDIS_HOST=taiko-redis \
|
||||
--env LETSENCRYPT_HOST=taikoapp.uk \
|
||||
--env VIRTUAL_HOST=taikoapp.uk \
|
||||
--env VIRTUAL_PORT=8080 \
|
||||
--publish 9999:8080 \
|
||||
taiko
|
Loading…
Reference in New Issue
Block a user