Skip to content

Commit

Permalink
Merge branch 'build-windows-php' into new_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Jan 29, 2025
2 parents 20f7761 + 6e5f722 commit fba2a76
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/linux-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ jobs:
- name: Start Database
run: |
# 准备数据库容器
export PATH=/usr/libexec/docker/cli-plugins/:$PATH
docker-compose version
docker compose version
docker container ls -a
bash sapi/docker/database/start.sh
Expand Down
1 change: 0 additions & 1 deletion sapi/docker/database/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: "database"
services:
postgresql-server:
image: postgres:17-alpine
# image: postgis/postgis:16-3.4-alpine
hostname: "postgresql"
container_name: "postgresql"
ports:
Expand Down
4 changes: 2 additions & 2 deletions sapi/docker/database/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ __DIR__=$(

cd ${__DIR__}

docker-compose -f docker-compose.yaml up -d
docker-compose -f docker-compose.yaml ps
docker compose -f docker-compose.yaml up -d
docker compose -f docker-compose.yaml ps

docker container ls -a

Expand Down
2 changes: 1 addition & 1 deletion sapi/docker/database/stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ __DIR__=$(

cd ${__DIR__}

docker-compose -f docker-compose.yaml down --remove-orphans
docker compose -f docker-compose.yaml down --remove-orphans

0 comments on commit fba2a76

Please sign in to comment.