mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
update openim environment and status
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
parent
62cdbb648b
commit
4f76ad9ac6
19
.github/workflows/openimci.yml
vendored
19
.github/workflows/openimci.yml
vendored
@ -281,12 +281,18 @@ jobs:
|
||||
sudo make init
|
||||
sudo make image
|
||||
|
||||
# https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
||||
- name: Get Docker Images and Processes
|
||||
id: docker_info
|
||||
- name: Get Docker Images
|
||||
id: docker_images
|
||||
run: |
|
||||
echo "images=$(sudo docker images)" >> $GITHUB_ENV
|
||||
echo "processes=$(sudo docker ps)" >> $GITHUB_ENV
|
||||
echo "images<<EOF" >> $GITHUB_ENV
|
||||
sudo docker images | awk '{print $1, $2, $3, $4, $5, $6, $7, $8}' >> $GITHUB_ENV
|
||||
echo "EOF" >> $GITHUB_ENV
|
||||
- name: Get Docker Processes
|
||||
id: docker_processes
|
||||
run: |
|
||||
echo "processes<<EOF" >> $GITHUB_ENV
|
||||
sudo docker ps | awk '{print $1, $2, $3, $4, $5, $6, $7, $8}' >> $GITHUB_ENV
|
||||
echo "EOF" >> $GITHUB_ENV
|
||||
- name: Comment PR with Docker Info
|
||||
uses: ./ # Replace with the appropriate action to comment on PR
|
||||
with:
|
||||
@ -297,5 +303,4 @@ jobs:
|
||||
${{ env.processes }}
|
||||
comment_tag: docker_info
|
||||
reactions: eyes, rocket
|
||||
mode: recreate
|
||||
# Include any other steps as needed
|
||||
mode: recreate
|
||||
@ -16,7 +16,7 @@ services:
|
||||
ports:
|
||||
- "${MONGO_PORT:-37017}:27017"
|
||||
container_name: mongo
|
||||
command: ["/bin/bash", "-c", "/docker-entrypoint-initdb.d/mongo-init.sh && docker-entrypoint.sh mongod --wiredTigerCacheSizeGB 1 --auth"]
|
||||
command: ["/bin/bash", "-c", "/docker-entrypoint-initdb.d/mongo-init.sh; docker-entrypoint.sh mongod --wiredTigerCacheSizeGB 1 --auth"]
|
||||
volumes:
|
||||
- "${DATA_DIR:-./}/components/mongodb/data/db:/data/db"
|
||||
- "${DATA_DIR:-./}/components/mongodb/data/logs:/data/logs"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user