``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:
@@ -2,7 +2,7 @@
|
||||
|
||||
services:
|
||||
cms:
|
||||
image: 192.168.10.61:5000/demo_cms_ubuntu
|
||||
image: 192.168.10.61:5000/demo_ls_cms
|
||||
build: ../cms
|
||||
env_file:
|
||||
- .env
|
||||
@@ -89,33 +89,32 @@ services:
|
||||
# reservations:
|
||||
# cpus: 0.01
|
||||
|
||||
# ionic_mobile:
|
||||
# # image: node:20-bullseye-slim
|
||||
# image: 192.168.10.61:5000/demo_ionic_mobile
|
||||
# build: ../ionic_mobile
|
||||
# # user: 1000:1000
|
||||
# env_file:
|
||||
# - .env
|
||||
# volumes:
|
||||
# - ../ionic_mobile:/app
|
||||
# ports:
|
||||
# - 3012:5173
|
||||
# - 8081:8080
|
||||
# working_dir: /app
|
||||
# command: /app/scripts/docker/entrypoint.sh
|
||||
# depends_on:
|
||||
# pocketbase:
|
||||
# condition: service_healthy
|
||||
# healthcheck:
|
||||
# #optional (recommended) since v0.10.0
|
||||
# test: wget --no-verbose --tries=1 --spider http://localhost:5173 || exit 1
|
||||
# interval: 5s
|
||||
# timeout: 5s
|
||||
# retries: 5
|
||||
ionic_mobile:
|
||||
# image: node:20-bullseye-slim
|
||||
image: 192.168.10.61:5000/demo_ionic_mobile
|
||||
build: ../ionic_mobile
|
||||
# user: 1000:1000
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ../ionic_mobile:/app
|
||||
ports:
|
||||
- 3012:8080
|
||||
working_dir: /app
|
||||
command: /app/scripts/docker/entrypoint.sh
|
||||
depends_on:
|
||||
pocketbase:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
#optional (recommended) since v0.10.0
|
||||
test: wget --no-verbose --tries=1 --spider http://localhost:5173 || exit 1
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
# deploy:
|
||||
# resources:
|
||||
# limits:
|
||||
# cpus: '0.5'
|
||||
# reservations:
|
||||
# cpus: '0.01'
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
reservations:
|
||||
cpus: '0.01'
|
||||
|
Reference in New Issue
Block a user