``update Add Docker build and deployment workflow for CMS and Ionic Mobile, update docker-compose.yml with new service images, and enhance documentation with strategy diagram and endpoint table``

This commit is contained in:
2025-05-24 08:21:33 +08:00
parent 1157bf0fda
commit cb8643b405
16 changed files with 462 additions and 85 deletions

View File

@@ -2,19 +2,15 @@
set -ex
# docker compose build
# DOCKER_COMPOSE_FILES="-f docker-compose.db.yml"
DOCKER_COMPOSE_FILES="-f ./docker-compose.db.yml -f ./docker-compose.yml"
# cd cms
# # nvm use 18
# npm run build
# cd -
cd docker
docker compose $DOCKER_COMPOSE_FILES build
docker compose $DOCKER_COMPOSE_FILES up -d
# cd ionic_mobile
# npm run build
# cd -
docker compose $DOCKER_COMPOSE_FILES exec -it cms bash
cd ..
docker compose up -d
docker compose logs -f
echo "done"