chore: fix e2e

This commit is contained in:
Nicolas Meienberger
2026-01-28 01:30:56 +01:00
parent e5bd97ed2c
commit a0c959a375
2 changed files with 7 additions and 0 deletions

View File

@@ -59,6 +59,10 @@ jobs:
run: |
timeout 30s bash -c 'until curl -f http://localhost:4096/healthcheck; do echo "Waiting for server..." && sleep 2; done'
- name: Print docker logs if failed to start
if: failure()
run: docker logs zerobyte || true
- name: Make playwright directory writable
run: sudo chmod 777 playwright/data/zerobyte.db

View File

@@ -13,6 +13,7 @@ services:
environment:
- NODE_ENV=development
- APP_SECRET=94bad4678ce84a60b9789bd2114a6bf780aeb38df426f7352c941c66e25d5c2b
- BASE_URL=http://localhost:4096
ports:
- "4096:4096"
volumes:
@@ -39,6 +40,7 @@ services:
- "4096:4096"
environment:
- APP_SECRET=94bad4678ce84a60b9789bd2114a6bf780aeb38df426f7352c941c66e25d5c2b
- BASE_URL=http://localhost:4096
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/lib/zerobyte:/var/lib/zerobyte
@@ -54,6 +56,7 @@ services:
environment:
- DISABLE_RATE_LIMITING=true
- APP_SECRET=94bad4678ce84a60b9789bd2114a6bf780aeb38df426f7352c941c66e25d5c2b
- BASE_URL=http://localhost:4096
devices:
- /dev/fuse:/dev/fuse
cap_add: