Nginx :80
Redis:6379
Metabase:3000
web3-extends:12350
Mbstoreapi:12346
/var/www/html/web3go
docker run -itd --name web3goV2 web3go/web3go:v2-base-0.2
docker exec -it web3goV2 bash
Mbstoreapi(port:12346)
yarn --production
yarn cache clean
Web3-extends(port:12350)
sudo docker cp /home/ubuntu/dev-web3go-v2/web3go-xyz-v2/v2-mvp/api-service-extend/package.json 19eb8a36dbe1:/var/www/html/web3go/web3-extends/package.json
sudo docker cp /home/ubuntu/dev-web3go-v2/web3go-xyz-v2/v2-mvp/api-service-extend/package-lock.json 19eb8a36dbe1:/var/www/html/web3go/web3-extends/package-lock.json
sudo docker cp /home/ubuntu/dev-web3go-v2/web3go-xyz-v2/v2-mvp/api-service-extend/yarn.lock 19eb8a36dbe1:/var/www/html/web3go/web3-extends/yarn.lock
sudo docker cp /home/ubuntu/dev-web3go-v2/web3go-xyz-v2/v2-mvp/api-service-extend/dist 19eb8a36dbe1:/var/www/html/web3go/web3-extends/dist
sudo docker cp /home/ubuntu/dev-web3go-v2/web3go-xyz-v2/v2-mvp/app-inherit-metabase/metabase-0.44.4-src/target/uberjar/metabase_lastbuild.jar 19eb8a36dbe1:/var/www/html/web3go/metabase.jar
enter docker and change some constants
/var/www/html/web3go/web3-extends/dist/base/setting/appConfig.js
synchronize: false
logging: false,
static IMG_UPLOAD_DIR = process.env.IMG_UPLOAD_DIR || '/var/www/html/web3go/imgUpload/';
redis.port=6379 , redis.password='redis#123'
yarn --production
yarn cache clean
replace metabase.tar(port:3000)
yarn cache clean
sudo docker commit 19eb8a36dbe1 web3go:v2-base
sudo docker tag xxxx web3go/web3go:v2-base
sudo docker login
sudo docker push web3go/web3go:v2-base
modify Dockerfile then: docker bulid -t web3go:xxxxx .
[email protected]
demo123
[email protected]
test123