From 104224b75602a2dc2803e750f79d988d8a04ed9c Mon Sep 17 00:00:00 2001 From: Xboard <147830212+cedar2025@users.noreply.github.com> Date: Fri, 10 Jan 2025 13:30:02 +0800 Subject: [PATCH] Update compose.yaml --- compose.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compose.yaml b/compose.yaml index 35c6532..6e7421f 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,25 +2,27 @@ services: web: image: ghcr.io/cedar2025/xboard:new volumes: - - ./.docker/.data/redis/:/run/redis-socket + - ./.docker/.data/redis/:/data/ - ./.env:/www/.env - ./.docker/.data/:/www/.docker/.data - ./public/theme/:/www/public/theme/ + - ./public/storage:/www/public/storage environment: - docker=true depends_on: - redis # network_mode: host - command: php artisan octane:start --server="swoole" --port=7001 --host=0.0.0.0 + command: php artisan octane:start --server="swoole" --host=0.0.0.0 restart: on-failure ports: - 7001:7001 horizon: image: ghcr.io/cedar2025/xboard:new volumes: - - ./.docker/.data/redis/:/run/redis-socket + - ./.docker/.data/redis/:/data/ - ./.env:/www/.env - ./.docker/.data/:/www/.docker/.data + - ./public/storage:/www/public/storage restart: on-failure # network_mode: host command: php artisan horizon @@ -32,5 +34,3 @@ services: restart: unless-stopped volumes: - ./.docker/.data/redis:/data - sysctls: - net.core.somaxconn: 1024