From 12536b34aa0d419870892a9483858c5fd21f7eef Mon Sep 17 00:00:00 2001 From: Xboard <147830212+cedar2025@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:50:57 +0800 Subject: [PATCH] update compose.yaml --- compose.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compose.yaml b/compose.yaml index 9ad6e6f..5aff2a6 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,13 +5,13 @@ services: - type: bind source: ${PWD}/.env target: /www/.env - - ./.docker/.data/:/www/.data + - ./.docker/.data/:/www/.docker/.data environment: - docker=true depends_on: - redis # network_mode: host - command: php artisan octane:start --server="swoole" --port=7001 + command: php artisan octane:start --server="swoole" --port=7001 --host=0.0.0.0 restart: on-failure ports: - 7001:7001 @@ -21,7 +21,7 @@ services: - type: bind source: ${PWD}/.env target: /www/.env - - ./.docker/.data/:/www/.data + - ./.docker/.data/:/www/.docker/.data restart: on-failure # network_mode: host command: php artisan horizon @@ -32,7 +32,7 @@ services: command: redis-server --appendonly yes --appendfsync everysec restart: unless-stopped volumes: - - ./.docker/.data/redis:/data + - ./.docker/.data/:/www/.docker/.data sysctls: net.core.somaxconn: 1024 ulimits: