feat(docker): added states volume

This commit is contained in:
Laureηt 2021-11-14 22:13:04 +01:00
parent 73abc7a981
commit 224fed6aa9
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
2 changed files with 2 additions and 1 deletions

View file

@ -27,6 +27,8 @@ services:
depends_on:
- rtmp
- redis
volumes:
- ./states/:/code/states/
redis:
image: redis:alpine
restart: unless-stopped

View file

@ -123,7 +123,6 @@ async def emulator():
sleep_t = last_frame_t - time.time() + EMULATOR_SPF
if sleep_t > 0:
# time.sleep(sleep_t)
await asyncio.sleep(sleep_t)