Skip to content

Commit

Permalink
Update Permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakr233 committed Apr 2, 2024
1 parent d327cd9 commit eef4694
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Resource/ApiTest/Docker-Env/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version: '3'
services:
misskey:
image: misskey/misskey
restart: always
volumes:
- ./config:/misskey/.config/
depends_on:
Expand All @@ -17,6 +18,7 @@ services:

postgres:
image: postgres:15.2 # latest
restart: always
environment:
POSTGRES_PASSWORD: misskey_api_test_stub_password
POSTGRES_USER: misskey
Expand All @@ -26,6 +28,7 @@ services:

redis:
image: redis
restart: always
command: redis-server --requirepass misskey_api_test_stub_password
environment:
- REDIS_PASSWORD=misskey_api_test_stub_password
Expand Down
1 change: 1 addition & 0 deletions Resource/ApiTest/Docker-Env/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ git checkout -- .

echo "[+] extract payload dir from payload.tar.gz"
tar -xzf payload.tar.gz
chmod -R 777 ./payload

echo "[+] waiting for file system to get ready..."
sleep 1
Expand Down
2 changes: 1 addition & 1 deletion Resource/ApiTest/Docker-Env/wait.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ while true; do
echo "[i] docker container is not ready $STATUS_CODE, retry in 10s"
sleep 10
COUNT=$((COUNT+1))
if [ $COUNT -eq 3600 ]; then
if [ $COUNT -eq 360 ]; then
echo "[!] docker container is not ready for too long, exit"
exit 1
fi
Expand Down

0 comments on commit eef4694

Please sign in to comment.