This commit is contained in:
louiscklaw
2025-05-28 21:06:12 +08:00
parent 4007227418
commit db805f23b6
61 changed files with 1279 additions and 494 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -ex
# -f docker-compose.db.yml
DOCKER_COMPOSE_FILES=" -f docker-compose.yml "
docker compose $DOCKER_COMPOSE_FILES exec -it frontend bash
# cd ../api_server
# yarn docker:dev
# cd ..
# docker compose $DOCKER_COMPOSE_FILES logs -f

View File

@@ -5,15 +5,11 @@ set -ex
# -f docker-compose.db.yml
DOCKER_COMPOSE_FILES=" -f docker-compose.yml "
#
docker compose $DOCKER_COMPOSE_FILES build
# docker compose $DOCKER_COMPOSE_FILES build
docker compose $DOCKER_COMPOSE_FILES up -d
# cd ../api_server
# yarn docker:dev
# cd ..
# docker compose $DOCKER_COMPOSE_FILES logs -f

View File

@@ -12,7 +12,8 @@ services:
volumes:
- ../frontend:/app
working_dir: "/app"
command: "yarn dev"
# command: "yarn dev"
command: "sleep infinity"
mobile:
image: 192.168.10.61:5000/hksingleparty_mobile
@@ -37,7 +38,8 @@ services:
volumes:
- ../cms_backend:/app
working_dir: "/app"
command: "yarn dev"
# command: "yarn dev"
command: "sleep infinity"
postgres:
container_name: postgres